|
-
May 31st, 2009, 06:46 PM
#1
Re: DataGridView Custom Properties
Those really don't sound like properties that should be added to a DataGridViewColumn because they have nothing to do with displaying data in a DataGridView. They sound like they ARE the data. Can you explain exactly what you are trying to achieve because I'm fairly sure that there's a better way than adding those properties to a DataGridViewColumn.
-
May 31st, 2009, 07:12 PM
#2
Thread Starter
Hyperactive Member
Re: DataGridView Custom Properties
I want to keep the data for each assignment (each column in the DataGridView) with the actual student grades. I don't want to bother with arrays.
I know that I need to create a custom control that inherits the DataGridView but the DataGridView itself is a collection of cell collected into columns, etc.
The whole point is to keep the data in the control, not in arrays. I suppose I could add a few extra hidden rows to the grid and store the data there (and I might do that). But then if I add a new row (a new student) I think it would get added as the last row - then I'd have to move all my info in the hidden rows down one row.
Know what I mean Vern?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|