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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Edit and Add New Row in DataGrid of window form

Thread ID:





61884 Jun 4,2007 03:22 PM UTC Jun 4,2007 07:19 PM UTC WinForms 1
Tags: GridControl
Asked On June 4, 2007 03:22 PM UTC

HI Everybody.

I am new with windows forms. i am working on .net 2003 C#. i want to Modify,AddNew,Delete Records in DataGrid. Any help would be appreicated..Thanks in advance.


haneefm [Syncfusion]
Replied On June 4, 2007 07:19 PM UTC

Hi Mady,

For Syncfusion Control:
To remove rows in a GridControl, use the GridControl.Rows.RemoveRange method.

To insert rows into a GridControl, use the GridControl.Rows.InsertRange method.

For a GridDataBoundGrid, the methods are GridDataBoundGrid.Binder.RemoveRecords and GridDataBoundGrid.Binder.AddNew.

See, the forum threads for adding new rows in a grid

For Windows DataGrid:
Here is code project article that dynamically add columns at run-time in a windows data grid.

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon