Hello everyone,
I have 1 excel sheet in which 2 columns are there>In first column mobile number is inserted and in second column messages are inserted.I want to send sms to all the numbers in excel file with there corresponding messages by uploading the excel file .I uploaded the excel file and getting the 2 columns (i have done this by showing the contents of excelsheet in gridview),but no idea about sending the messages to the numbers by uploading the excel.I have sms gateway.
Plz.help.
Thanks in advance
Loading
Jolly PriyaPosted Jul 3, 2013, 3:52 AM
Two radiobutton:
1 -for Enter the contact no,under this we have to enter the contact no and msg and send the msg by clicking on send button.
2- radio button is like for uploading the excel file where a user will upload excel file then clicking on send button the msg will be sent to the no.
Plz help...
Jolly PriyaPosted Jul 3, 2013, 3:43 AM
Kunal VaishyaPosted Jul 3, 2013, 2:35 AM
Sanjeeb LenkaPosted Jul 3, 2013, 1:57 AM
for(int i = 0 ;i
//here you have to write your sms sending code.
}
to access the mobile no. within the loop
GridView1.Rows[i].Cells[1].Text;
to access the msg within the loop
GridView1.Rows[i].Cells[2].Text;
if it helps you mark it as answered