Results 1 to 7 of 7

Thread: DataGridView Custom Properties

Hybrid View

  1. #1
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Fox, OK
    Posts
    381

    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
  •  



Click Here to Expand Forum to Full Width