opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dotnet-winforms@discuss.develop.com 28 January 2008 • 7:06AM -0500

Re: Negative rowIndex problem for new DataGridViewRow
by Brady Kelly

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi Kara,

Thanks for the link, but I've determined my problem is somehow related to me
trying to add row objects derived from DataGridViewRow.  I suspect I'm not
overriding a required member somewhere, because I can add one custom row,
but all other rows after that break when I add them.

>
> Hi Brady,
>
> With the DataGridView, the rows could be accessed iteratively up to a
> size of myGrid.Rows.Count
>
>
> Here is a webpage with an example of how to access a row/column
> reference as you describe.
>
> http://msdn2.microsoft.com/en-
> us/library/system.windows.forms.datagridview.rowcount.aspx

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.