Is it possible to call a textbox in the middle of quotation C# VB -
i want make email sms program using c#. in body of text call textbox value of user put there replace in line there..
below coding :
public string fromaddress = "cmdsa.system@gmail.com"; public string password = "xxxxxxxxxx"; public string = "sms@isms.com.my"; public string subject = "isms"; public string body = "startisms username:password:1 6017xxxxxxx, <-- here want call textbox replace value entered in box @ interface. testing 1234567890 endisms"; public string smtp = "smtp.gmail.com"; public int port = 587;
please tell me right way this.. including right way on how write multiple text of below inside body part
"startisms username:password:1 6017xxxxxxx, <-- here want call textbox replace value entered in box @ interface. testing 1234567890 endisms";
not clear! why put inputs in property directly? if alwasy static , making body property, can on click of send button make it.
body = "s.t" + textbox1.text;
if else, explain problem clearly.
Comments
Post a Comment