Hi Wilson,
You need to call the EndEdit method of the DataRow to write the changes to the DataTable:
ds.Tables(0).Rows(0).EndEdit()
>I have a problem when a DataGrid, when i am editing a row, the changes aren't written to the DataTable still i move to another row.
>
>is there a way to avoid this?
>
>Can i update changes to DataTable while i am making changes in a row in the DataGrid
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi