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