1
Answer

mvaayoo use message send for total and discount values

Photo of Bharathi Raja

Bharathi Raja

7y
224
1
cus_mob = textBox13.Text;
string strUrl = "http://api.mVaayoo.com/mvaayooapi/MessageCompose?user=stanly@raja.com:fsstanly&senderID=raja&receipientno=";
string bal_strUrl = "&msgtxt=Your order is successfully delivered.&state=4";
string new_strUrl = strUrl + cus_mob + bal_strUrl;
WebRequest request = HttpWebRequest.Create(new_strUrl);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream s = (Stream)response.GetResponseStream();
StreamReader readStream = new StreamReader(s);
string dataString = readStream.ReadToEnd();
response.Close();
s.Close();
readStream.Close();
 
this is my code 
only sms sent   
how to total and discount values to sms  
help pls! 

Answers (1)

1
Photo of Bharathi Raja
NA 400 6k 7y
answers is:
 
string bal_strUrl = "&msgtxt=Bill Amount:'" + textBox14.Text + "' and Balance Amount:'"+txttot.Text+"' and Discount:'"+txtdiscount.Text+"'&state=4";