Hi
i am sending sms using c# .I am passing username,passwors,phonenumber,txtmessage to the object of the class.i am using templates to send message ,now my problem is i am not getting spaces between words in the message.i am using adapter to get message template from database and assigning it to txtmessage
I am writind code in ddlselectedindex changed event to get different templates
using the following code
string message = (ds.Tables[0].Rows[0][0].ToString());
string[] lines = message.Split(' ');
StringBuilder builder1 = new StringBuilder();
foreach (string safePrime in lines)
{
//s3 += safePrime + " ";
s3= builder1.Append(safePrime).Append('+').ToString();
txtmessage.Text = s3;
in button click.Now my problem is unable to add other than template message.I.e if max limit for message is 150 if message template length is 5 characters i am unable to add and send message.How to rectify this problem.Can we do this by using session or view state all should be in same page only
vijaya