|
-
Sep 3rd, 2010, 09:19 AM
#14
Re: datagridview add new row
To use the grid unbound requires these steps (won't be too easy for a beginner, but will make you a better coder)
- Make two new classes
- Use the code jmc gave you for one that is your collection (rename THING to what you wish)
- Use the second block of code I gave you for the other (it will require editing)
- Create local variables for your columns
- Create properties for your columns
After you have done that all you need is a SQL statement and a loop. But see let's if you wish to have a go at it before we continue.
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
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
|