|
-
January 4th, 2003, 11:06 PM
#3
more...
The reason I want to manipulate another form's controls is because I'm bringing up a 'search' form for a database... it'll have a bunch of text boxes that you could put data into to search for a specific record in a database. I want to use the connection, adapter, dataset, and sqlcommand controls off the parent form, so I don't have to duplicate.
Any better suggestions? I could code them as methods, but that sounds like it'll get really hairy, really quick, especially when I want to fill a datagrid on the child form with data from the dataset of the parent form...
I'm not sure how to declare a control public, btw... thanks for the help.
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
|