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.
Syncfusion Feedback

Edit and Add New Row in DataGrid of window form

Thread ID:

Created:

Updated:

Platform:

Replies:

61884 Jun 4,2007 03:22 PM UTC Jun 4,2007 07:19 PM UTC Windows Forms 1
loading
Tags: GridControl
Mady
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.

mady

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
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=47148

For Windows DataGrid:
=========================
Here is code project article that dynamically add columns at run-time in a windows data grid.
http://www.codeproject.com/cs/miscctrl/grid_control.asp

Best regards,
Haneef

CONFIRMATION

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.

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

;