Click here to Skip to main content
15,919,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have the following message which is working ok.

need to include the following in addition.

mticket = txt_Ptick_Code.Text;
kmdays = txt_Comp_Code.Text;



WebClient client = new WebClient();

string name, mobile,mticket,kmdays;

name = txt_Fname.Text + ' ' + txt_Lname.Text;
mobile = txt_Mobil.Text;
mticket = txt_Ptick_Code.Text;
kmdays = txt_Comp_Code.Text;

string url = "http://tintira.com:3002/cgi-bin/sendsms?password=niiamuh&user=fredquaye&from=USIS&" +
"from=USIS&to=" + mobile +
"&text=Hi " + name + ", Your ticket code for follow up is";

The entire message should read as follows :

Hi James, Your ticket number is mticket and the responds time is kmdays.


Please edit the above to t incorporate the additions.

Thanks

What I have tried:

Reviewed my own codes and other codes I have
Posted
Updated 25-Sep-16 0:32am
Comments
[no name] 25-Sep-16 7:18am    
"Please edit the above to t incorporate the additions" if you cannot add the string concatenation to add in the additional things yourself, just like you are already doing, then you need to start learning programming instead of attempting to get people to do your job for you.

1 solution

When you asked this question 2 hours ago: http://www.codeproject.com/Questions/1131633/Text-from-form-not-appearing-in-message[^] I told you what the problem was and what to do to fix it.

Is there any point in us being here if you are just going to ignore what we tell you?
 
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