First i want to apologize to Sachin, for the misspelling of your name on the other thread last night, i guess i was to tired, sorry it was really a mistake :(.
But if you are using a bound grid, why did you create the columns programatically, you could have just bounded the grid, and register for the DataBindingComplete
, and do other operations, like change columns headers, move columns around and other things.
Please try registering for CellEndEdit
and try updating the values programatically and see if that works, like this:
sender, GridViewCellEventArgs e)
var obj = e.Row.DataBoundItem;
// update the object here based on the values from e.Row.Cells
Hope this helps, if you have any other questions or comments, please let me know,