|
-
Oct 30th, 2003, 07:14 AM
#1
Thread Starter
Lively Member
Inheritance problem??
Hi again,
I'm having a problem with inheritance (i suppose). I have a form (frmsearch) in which the user can type some keywords and based on the input I create an SQL-string for an oledbdataadapter. With this dataadapter I fill a dataset.
Everything works fine, but now I want to display the results (the dataset) in a datagrid in another form (frmShow). I don't know how to do this. I tried to inherit the frmsearch in frmShow but this shows also all the controls in frmShow and this is not what I want (it is also not possible to delete them).
Should I use another strategy? If so, can you help me with some VB.NET code to accomplish this?
Many thanks
Tom
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
|