Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use window applications in window services Pin
PaulPrice3-Oct-07 1:40
PaulPrice3-Oct-07 1:40 
AnswerRe: How to use window applications in window services Pin
Scott Dorman3-Oct-07 11:57
professionalScott Dorman3-Oct-07 11:57 
QuestionImage Open Pin
Xmen Real 2-Oct-07 20:02
professional Xmen Real 2-Oct-07 20:02 
AnswerRe: Image Open Pin
Christian Graus2-Oct-07 20:13
protectorChristian Graus2-Oct-07 20:13 
AnswerRe: Image Open Pin
Andrei Ungureanu2-Oct-07 20:19
Andrei Ungureanu2-Oct-07 20:19 
GeneralRe: Image Open [modified] Pin
Xmen Real 2-Oct-07 20:39
professional Xmen Real 2-Oct-07 20:39 
GeneralRe: Image Open Pin
Andrei Ungureanu3-Oct-07 0:07
Andrei Ungureanu3-Oct-07 0:07 
QuestionSend message through my application Pin
amolpate2-Oct-07 20:00
professionalamolpate2-Oct-07 20:00 
hi friends i have tried to send sms to india through my application but unable to send it the code is as follows

protected void Send_Click(object sender, System.EventArgs e)
{
try
{
SmsTest.net.webservicex.www.SendSMS smsIndia= new SmsTest.net.webservicex.www.SendSMS();
SmsTest.com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld();
if(rdoType.SelectedValue == "1")
smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text);
else
smsWorld.sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text);
lblMessage.Visible = true;
lblMessage.Text="Message Send Succesfully";
}
catch(Exception ex)
{
lblMessage.Visible = true;
lblMessage.Text="Error in Sending message"+ex.ToString();
}
}

protected void rdoType_SelectedIndexChanged(object sender, System.EventArgs e)
{
if(rdoType.SelectedValue =="1")
txtCountryCode.Enabled = false;
else
txtCountryCode.Enabled = false;

}
}
}

and the exception is

Error in Sending messageSystem.Net.WebException: The remote name could not be resolved: 'www.webservicex.net' at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at SmsTest.net.webservicex.www.SendSMS.SendSMSToIndia(String MobileNumber, String FromEmailAddress, String Message) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\smstest\e1b64363\4f679e02\App_WebReferences.dvkrcwdj.1.cs:line 46 at SmsTest.WebForm1.Send_Click(Object sender, EventArgs e) in c:\Documents and Settings\Tapi-net\Desktop\SmsTest\SmsTest\SendSms.aspx.cs:line 52

so will u please help me out.
thanking you in advance.
Amol Pate


AnswerRe: Send message through my application Pin
Christian Graus2-Oct-07 20:16
protectorChristian Graus2-Oct-07 20:16 
QuestionProblem binding a dataset in SQL Reporting Services Pin
Bonny Babu2-Oct-07 19:38
Bonny Babu2-Oct-07 19:38 
QuestionGeneric Methods [modified] Pin
N a v a n e e t h2-Oct-07 19:22
N a v a n e e t h2-Oct-07 19:22 
QuestionRe: Generic Methods Pin
TJoe2-Oct-07 19:55
TJoe2-Oct-07 19:55 
AnswerRe: Generic Methods Pin
N a v a n e e t h2-Oct-07 20:12
N a v a n e e t h2-Oct-07 20:12 
GeneralRe: Generic Methods [modified] Pin
TJoe2-Oct-07 20:23
TJoe2-Oct-07 20:23 
GeneralRe: Generic Methods Pin
N a v a n e e t h2-Oct-07 20:34
N a v a n e e t h2-Oct-07 20:34 
GeneralRe: Generic Methods Pin
TJoe2-Oct-07 20:41
TJoe2-Oct-07 20:41 
Questionhow to recieve sms in c#.net Pin
shabi uz zaman2-Oct-07 19:13
shabi uz zaman2-Oct-07 19:13 
AnswerRe: how to recieve sms in c#.net Pin
Christian Graus2-Oct-07 19:44
protectorChristian Graus2-Oct-07 19:44 
GeneralRe: how to recieve sms in c#.net Pin
shabi uz zaman2-Oct-07 21:22
shabi uz zaman2-Oct-07 21:22 
GeneralRe: how to recieve sms in c#.net Pin
ESTAN2-Oct-07 22:30
ESTAN2-Oct-07 22:30 
QuestionHow to reload data from data base to Webpage After some seconds ?. Pin
quangnd28022-Oct-07 18:02
quangnd28022-Oct-07 18:02 
AnswerRe: How to reload data from data base to Webpage After some seconds ?. Pin
Peter Vertes2-Oct-07 18:14
Peter Vertes2-Oct-07 18:14 
GeneralRe: How to reload data from data base to Webpage After some seconds ?. Pin
quangnd28023-Oct-07 18:25
quangnd28023-Oct-07 18:25 
AnswerRe: How to reload data from data base to Webpage After some seconds ?. Pin
Parwej Ahamad2-Oct-07 18:17
professionalParwej Ahamad2-Oct-07 18:17 
GeneralRe: How to reload data from data base to Webpage After some seconds ?. Pin
quangnd28023-Oct-07 18:25
quangnd28023-Oct-07 18:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.