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. Image for the cookie policy date

adding new row to datagrid programatically

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon