accepting string from textbox

Dear All ,
I want to make this statement-string inputstring = "Here is some text"-; like this -string inputstring = Textbox1.Text;

My program like this
string inputstring = "Here is some text";
string outputstring="" ;
outputstring = inputstring.Substring(5,5);
textBox21.Text = outputstring;

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories