Hi,
I am attaching the sample I hv tried.Pl have a look at it.
Thx,
prathima
>Are you leaving the changed row before you call GetChanges? The changes are only committed to the datasource when you leave the row.
>
>If you want to catch the changes on the current row, you can try calling the Validate method on the form before your GetChanges call.
>
>private void button1_Click(object sender, System.EventArgs e)
>{
> this.Validate();
> DataTabel t2 = dt.GetChanges(DataRowState.Modified);
> if( t2 != null)
> {
> Console.WriteLine(t2.Rows.Count);
> }
>}
>
GGC_MoveCOlumns_8e767f4c1_1090.zip