C
chad
Hi,
I am trying to add controls (textboxes, dropdownlist,...) dynamically
to the table. The problem is when the page is posted back, all of the
controls disappear and the table is reset to empty. I need to be able
to capture the data saved by the user that posted back from these
controls to save to the database. Btw, the enableviewstate is true.
Can someone please help?
The snippet below:
private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
BindTable();
}
}
private void BindTable()
{
....
}
Thanks
Chad
I am trying to add controls (textboxes, dropdownlist,...) dynamically
to the table. The problem is when the page is posted back, all of the
controls disappear and the table is reset to empty. I need to be able
to capture the data saved by the user that posted back from these
controls to save to the database. Btw, the enableviewstate is true.
Can someone please help?
The snippet below:
private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
BindTable();
}
}
private void BindTable()
{
....
}
Thanks
Chad