Monday, May 24, 2010

Visual C# Question.?

How would I get text from a textbox onto a webBrowser or something like, that and keep the first(second + ect) entry, kind of like a messagebox but in the same form. Acting like an instant messaging program. You enter text and appears on the form(I don't know what you use) then you type some other stuff and stays on the form and keeps going on.

Visual C# Question.?
Grab the text from the textbox.





Use a second textbox to display the list.





When the user clicks submit do something like:





listTextBox.Text += inputTextBox.Text;





or if you wan't them to appear in reverse order:-





listTextBox.Text = inputTextBox.Text + "%26lt;BR%26gt;" + listTextBox.Text;


No comments:

Post a Comment