Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to send sms to mobile number on selecting the check box
Posted
Comments
[no name] 30-May-12 2:05am    
PLease Explain it more what do you want to do ?
Vijaykumar Vadnal 30-May-12 2:05am    
Please elaborate your question, if possible attach snapshot.
[no name] 30-May-12 2:05am    
I think you must use an API.
Sandeep Mewara 30-May-12 12:55pm    
Any effort?

 
Share this answer
 
Comments
Prasad_Kulkarni 14-Jun-12 3:38am    
Nothing wrong in references to down-vote for this answer. 5'ed!
you take sms getaway (sms api)
C#
using System.Text;
using System.IO;
using System.Net;
using System.Net.Sockets;




 string send_url = url;
                Uri uri = new Uri(send_url);
                string data = "field-keywords=ASP.NET 2.0";
                if (uri.Scheme == Uri.UriSchemeHttp)
                {
                    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                    request.Method = WebRequestMethods.Http.Post;
                    request.ContentLength = data.Length;
                    request.ContentType = "application/x-www-form-urlencoded";
                    StreamWriter writer = new StreamWriter(request.GetRequestStream());
                    writer.Write(data);
                    writer.Close();

                    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
                    StreamReader reader = new StreamReader(response.GetResponseStream());
                    string tmp = reader.ReadToEnd();
                    response.Close();
                    conf_sent_sms = tmp.ToString(); 
                }


url ="www.asd.com?uid=abc&pss=*****&mobileno=919236******& mess=ZZZZZZZZZZZZZZZZZZZZZZ";
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900