editing and deleting in the grid.

hi all,
i am new to this control.
i want to add,modify and delete in the grid.
The code i got in the sample is below.

Private Sub RowAdding(ByVal sender As Object, ByVal e As GridDataSourceControlRowAddingEventArgs)
e.Cancel = True
End Sub

if anyone can please tell me how to use the add, delete ,modify event of this control.

Thanks a lot.

1 Reply

BM Bharath M Syncfusion Team December 29, 2009 08:37 AM UTC

Hi Santosh,

Thank you for your interest in Syncfusion products.

We suggest you to use SQL queries to Insert, update and Delete records. You can retrieve values that all updated/added in GridGroupingControl, from GridDataSourceControlRowAddingEventArgs's object. The values are stored in variable, e.NewValues[](array of updated values), e.OldValues[](array of original value) in concerning event Handler functions. Refer the below link to learn more about event handlers.

http://help.syncfusion.com/ug_74/gridweb/DataEditUpdateDelete.html

Let me know if you have any concerns.

Regards,
Bharath .M

Loader.
Up arrow icon