Can't read new data from DataGrid cell
Dear All!
Could you please give me advise what I'am doing wrong? I created typed DataSet, bound formatted DataGrid to the DataSet table and wrote code in the Edit and Update events of the DataGrid (using sample code, but in the sample data source is DataReader). In the Update event I am using a=CType(e.Item.FindControl(myTextBox),TextBox).Tex t code to read from cell. But the data is old! User put 10 in the cell, but a still 2 as was before editing :-(
Thank you,
Alex
|