Edit and Add New Row in DataGrid of window form

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

1 Reply

HA haneefm Syncfusion Team 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

Loader.
Up arrow icon