ok. Thanks.
So; if I have to use custom editing because I want my grid to be based on the table selected in a drop-down; what is the basic syntax for me to express the update of the field with the value from the grid which I am guessing is identified by e.RowIndex.
And do I need to populate this in both the RowUpdating and RowEditing events ?
Since mine is so dynamic; I guess I"m going to have to pull down each field based on the dropdown table selected using a query against sysobjects.
I wish I could keep the standard edit functionality without having to define everything but I'm not sure how to get the system to auto-generate the updatecommand and deletecommand when the table is changed on the sqlconnection by a dropdown.
Main Topics
Browse All Topics





by: JZoermanPosted on 2008-06-17 at 07:34:37ID: 21803417
When using custom editing, updating, etc. with the GridView control corresponding subs must exsist regardless of where your logic is performed.
Select allOpen in new window