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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

adding new row to datagrid programatically

Thread ID:

Created:

Updated:

Platform:

Replies:

2238 Dec 23,2002 01:38 PM UTC Dec 23,2002 03:57 PM UTC WinForms 1
loading
Tags: GridControl
ramachandran
Asked On December 23, 2002 01:38 PM UTC

how can i add a new row to the datagrid programatically? changing the datasource is the only way? or is there anyother way? thanks in advance ramachandran.g

Administrator [Syncfusion]
Replied On December 23, 2002 03:57 PM UTC

> how can i add a new row to the datagrid programatically? changing the datasource is the only way? or is there anyother way? > > > thanks in advance > > ramachandran.g > If you are bound to a ADO table adding directly to datatables add new methods is probably easiest. The grid will then reflect the changes. Another method is to use the AddNew and EndEdit methods of the GridDataBoundGrid.Binder object. The row will then be added to the datasource after you called EndEdit. Stefan

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

;