B
Bman
This seems like it should be a simple task, I have a list box loaded with
table names on a web page and a datagrid with an EditCommandColumn defined in
the aspx page. I load the selected table into the datagrid and bind the
columns at run-time and add the columns to the datagrid's column collection.
When the edit button is clicked the row is placed into edit mode with the
textboxes and everything is fine until the update button is clicked and as
soon as the post back fires, only the explicitly defined column is
accessible, datagrid.Columns.Count = 1. There are several tables in the list
so explicitly defining every column in every table in the aspx file is not an
option right now.
Any help would be appreciated,
Bill
table names on a web page and a datagrid with an EditCommandColumn defined in
the aspx page. I load the selected table into the datagrid and bind the
columns at run-time and add the columns to the datagrid's column collection.
When the edit button is clicked the row is placed into edit mode with the
textboxes and everything is fine until the update button is clicked and as
soon as the post back fires, only the explicitly defined column is
accessible, datagrid.Columns.Count = 1. There are several tables in the list
so explicitly defining every column in every table in the aspx file is not an
option right now.
Any help would be appreciated,
Bill