hi, this should be a simple question, but i have never been able to solve the problem.
I have a DataTable, and im binding it to a DataGrid like this:
now, im trying to make the datagrid editable, so i followed a tutorial from MSDN, and i set the EditCommand and it works fine. i get textboxes to edit my values.
but im having trouble with the updateCommand, because i dont know how to update the datatable with the new values without having to go to update directly the original source and then load the datatable again.
can anybody help me?
i hope i made myself clear...
thank you very much
Eli
I have a DataTable, and im binding it to a DataGrid like this:
Code:
this.DataGrid1.DataSource = Tabla;
this.DataGrid1.DataBind();
now, im trying to make the datagrid editable, so i followed a tutorial from MSDN, and i set the EditCommand and it works fine. i get textboxes to edit my values.
but im having trouble with the updateCommand, because i dont know how to update the datatable with the new values without having to go to update directly the original source and then load the datatable again.
can anybody help me?
i hope i made myself clear...
thank you very much
Eli