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

How to add a new row in grid control

Thread ID:





71039 Jan 12,2008 10:38 AM UTC Jan 14,2008 12:03 AM UTC WinForms 1
Tags: GridControl
venkataramu c
Asked On January 12, 2008 10:38 AM UTC

Hi Friends
I using syncfusion grid control. in this grid control statring contating 3 rows . in that i am deleting last row by using the below method
int index = this.gridcontrol1.CurrentCell.RowIndex;
this.gridcontrol1.Rows.RemoveRange(index, index);

then i am adding one more but it throwing an error like
Specified argument was out of the range of valid values.
Parameter name: rowIndex
please Help me.

Jeba S [Syncfusion]
Replied On January 14, 2008 12:03 AM UTC

Hi Venkataramu,

You can add new rows in the GridControl by increasing the row count. Below is the code snippet:


Please refer the sample and letus know if this helps.

Kindly let us know if you need any further assistance.

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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