Hi Nazmi,
You could hook into the CurrencyManager's ListChanged event to track the underlying datasources changes in GridDataBoungGrid. See the code to get the values of the newly added row.
CurrencyManager cm = this.gridDataBoundGrid1.BindingContext[this.gridDataBoundGrid1.DataSource, this.gridDataBoundGrid1.DataMember] as CurrencyManager;
((DataView)cm.List).ListChanged += new ListChangedEventHandler(Form1_ListChanged);
private void Form1_ListChanged(object sender, ListChangedEventArgs e)
{
if(e.ListChangedType == ListChangedType.ItemAdded )
{
DataView dv = sender as DataView;
DataRowView drv = dv[e.NewIndex] as DataRowView;
Console.WriteLine(drv["SNo"]);
}
}
Sample for your reference:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GDBGData-12528921.zipPlease let me know if this helps.
Jisha