I have a gridview with multiple columns, One of the columns is set to a itemtemplate and holds a textbox.
I can easily get the text from the textbox using
TextBox txTitle = ((TextBox)gvRow.Cells[1].Controls[1]);
Title = txTitle.Text;
I am trying to set the same textbox to a string, but cannot!
How is this done?
Thanks
I can easily get the text from the textbox using
TextBox txTitle = ((TextBox)gvRow.Cells[1].Controls[1]);
Title = txTitle.Text;
I am trying to set the same textbox to a string, but cannot!
How is this done?
Thanks