J
Jim Katz
I have an application that updates a strongly typed data set at run time.
I'd like to dynamically create a table that connects to a run time data
table. For displaying the data, this works well. I just set the
GridView.DataSource once, and call DataBind();
I'd like to drive the application from the GridView control, by including
command buttons that allow editing of the data. Starting out simple, I
have a DataTable with a boolean "use" field (read-write) and a number field
(read-only).
I'd like to have an Edit button allow me to toggle the boolean checkbox
(which will be bound to the "use" field
Now, this data is not connected to a DataSource, so I'd like to know what I
have to do in the GridView's RowEditing event handler to make the GridView's
selected row editable.
I'd like to dynamically create a table that connects to a run time data
table. For displaying the data, this works well. I just set the
GridView.DataSource once, and call DataBind();
I'd like to drive the application from the GridView control, by including
command buttons that allow editing of the data. Starting out simple, I
have a DataTable with a boolean "use" field (read-write) and a number field
(read-only).
I'd like to have an Edit button allow me to toggle the boolean checkbox
(which will be bound to the "use" field
Now, this data is not connected to a DataSource, so I'd like to know what I
have to do in the GridView's RowEditing event handler to make the GridView's
selected row editable.