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.
Unfortunately, activation email could not send to your email. Please try again.

Edit and Add New Row in DataGrid of window form

Thread ID:





61884 Jun 4,2007 11:22 AM Jun 4,2007 03:19 PM Windows Forms 1
Tags: GridControl
Asked On June 4, 2007 11:22 AM

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 03:19 PM

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.

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.