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

DataGridButtonColumn - No value at index xx exception

Thread ID:

Created:

Updated:

Platform:

Replies:

3099 Mar 3,2003 04:46 AM UTC Mar 18,2003 02:37 PM UTC WinForms 2
loading
Tags: FAQ
Gerry Benedict
Asked On March 3, 2003 04:46 AM UTC

I have a form with several datagrids on separate tabpages. I've used your DataGridButtonColumn example from FAQ_cc44c.asp (5.53) to add a custom button column. Everything worked GREAT as long as the number of filled in rows per datagrid was equal - as soon as I entered in less rows in the database related to one datagrid, I got this error: Exception of type "System.IndexOutOfRangeException" occurred in system.windows.forms.dll Additional information: No value at index 3. (pointing to the datagrid with only 3 records - the others had 10 records). Any suggestions on a fix? I've tried refreshing the CurrencyManagers (one for each datagrid and related dataview), setting the DataSource to null, refreshing, and then resetting the DataSource, etc. Nothing seems to work... Thanks.

umberto
Replied On March 18, 2003 09:51 AM UTC

me 2 > I have a form with several datagrids on separate tabpages. I've used your DataGridButtonColumn example from FAQ_cc44c.asp (5.53) to add a custom button column. Everything worked GREAT as long as the number of filled in rows per datagrid was equal - as soon as I entered in less rows in the database related to one datagrid, I got this error: > > Exception of type "System.IndexOutOfRangeException" occurred in system.windows.forms.dll > Additional information: No value at index 3. (pointing to the datagrid with only 3 records - the others had 10 records). > > Any suggestions on a fix? I've tried refreshing the CurrencyManagers (one for each datagrid and related dataview), setting the DataSource to null, refreshing, and then resetting the DataSource, etc. Nothing seems to work... > > Thanks. >

merychris
Replied On March 18, 2003 02:37 PM UTC

hi my friends i use DataGridButtonColumn in form to select account no from other from Everything worked GREAT as long but some time error message of rowindex appair i attch this error message with this message if know solu to this error please reply to me > me 2 > I have a form with several datagrids on separate tabpages. I've used your DataGridButtonColumn example from FAQ_cc44c.asp (5.53) to add a custom button column. Everything worked GREAT as long as the number of filled in rows per datagrid was equal - as soon as I entered in less rows in the database related to one datagrid, I got this error: > > > > Exception of type "System.IndexOutOfRangeException" occurred in system.windows.forms.dll > > Additional information: No value at index 3. (pointing to the datagrid with only 3 records - the others had 10 records). > > > > Any suggestions on a fix? I've tried refreshing the CurrencyManagers (one for each datagrid and related dataview), setting the DataSource to null, refreshing, and then resetting the DataSource, etc. Nothing seems to work... > > > > Thanks. > > >

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

;