views:

9

answers:

0

hi all

Want to know if anyone can tell me how I can get the selected combo box choices to automatically populate a datagrid.

For example:

On the left side of my user form in visual studio I have a couple of combo boxes. on the right side of the same user form I have a gridview with columns matching up to my comboxes. (combobox1 is named Time In and in the datagrid I have a column labeled Time In)

I do not have a database made for this because it is new and at the end of the day i want to be able to save the combo box choices to a file.

I am not going on the net with this as it is only an in shop prgram for a tire shop.

What I want to do is if "John" selects from the combobox that he is going to be on bay 5 until 4pm.. I just want the combo box selections to show up in the grid view.

I got all the boxes set and the grid columns are all labeled, Just dont know how to code this to make it happen.

Can someone tell me a straight forward way to do this? I have been referred to something called dataset and binding the dataset to the gridview..but I dont understand how to do this sigh

Everytime I try to create a dataset, I get smacked with "The dataset has to have a table before establishing relationship".

I am too new at this to understand what the heck they are talking about LOL

I am using vb/vb.net as language