R
Raed Sawalha
Hi,
This is probably pretty simple but...
I am dynamically adding rows to a HtmlTable that contain Textbox controls.
(There may be more than one server control/textbox in a given cell)
How do I get the value of a textbox when the form is posted back?
I would expect something like:
TextBox t = (TextBox)Table1.Rows[0].Cells[0].Controls[0];
String s = t.Text;
(I may be using the controls colletion incorrectly...)
Or at least that is the kind of solution I'm looking for...
This is probably pretty simple but...
I am dynamically adding rows to a HtmlTable that contain Textbox controls.
(There may be more than one server control/textbox in a given cell)
How do I get the value of a textbox when the form is posted back?
I would expect something like:
TextBox t = (TextBox)Table1.Rows[0].Cells[0].Controls[0];
String s = t.Text;
(I may be using the controls colletion incorrectly...)
Or at least that is the kind of solution I'm looking for...