Matty
...the Myth Buster
- Local time
- Today, 04:40
- Joined
- Jun 29, 2001
- Messages
- 396
Hi,
I’m a VB.NET newbie, so bear with me. I’m building a class library that I’m designing my re-usable forms in, and then inheriting them into my projects. The first base form I’m trying to make is one that will pop up when the user clicks Edit List next to a combobox (to obviously add/edit values to the combobox’s list). This would be used several times on my main form, since there are several comboboxes on the form.
I’m trying to make my class as generic as possible, so I’m thinking I’ll have to pass a dataset of some sort to my popup form and then bind my popup form with the passed data when the popup form loads. The data would be really simple – just one table with one column in it (such as a list of manufacturers). I’m just not entirely sure what objects I need to create in my base class (dataset, tableadapter, bindingsource, etc), or how to use them together.
I’ve only done typed datasets before (and that was only to create my main form in this project), so could you point me to some sort of tutorial to get me on the right path? Thanks.
Edit: I'm using VS 2005.
I’m a VB.NET newbie, so bear with me. I’m building a class library that I’m designing my re-usable forms in, and then inheriting them into my projects. The first base form I’m trying to make is one that will pop up when the user clicks Edit List next to a combobox (to obviously add/edit values to the combobox’s list). This would be used several times on my main form, since there are several comboboxes on the form.
I’m trying to make my class as generic as possible, so I’m thinking I’ll have to pass a dataset of some sort to my popup form and then bind my popup form with the passed data when the popup form loads. The data would be really simple – just one table with one column in it (such as a list of manufacturers). I’m just not entirely sure what objects I need to create in my base class (dataset, tableadapter, bindingsource, etc), or how to use them together.
I’ve only done typed datasets before (and that was only to create my main form in this project), so could you point me to some sort of tutorial to get me on the right path? Thanks.
Edit: I'm using VS 2005.
Last edited: