We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon