954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ComboBox and DataGridView

Hello !!

I am stuck with an issue and need some guidance.. I am using visual studio 2008, vb.net Windows app and ms access 2003.

I just wanted to know that there is a form in which i select an option from the list of options in combobox.. While the user selects a type, i want the data relevant to the type be displayed in the datagridview. I have bound the datagridview to datasource in design..

But am blank as to which event can i use and how should i start it ?? Went through various sources, but seemingly vague. Could you please guide me through it ??

Thank You for your time and help !! :)

Ruchi224
Junior Poster in Training
94 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

CAn you change the datasource in the SelectedIndexChanged or SelectedIndexChanged events of the combo box?

Ranx
Light Poster
44 posts since Jul 2007
Reputation Points: 10
Solved Threads: 6
 

I am using/trying vb.net for the first time.. So no idea about it.. Sorry !! :-|

Ruchi224
Junior Poster in Training
94 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

I did it using fillby toolstrip option.. Thank u !! :)

Ruchi224
Junior Poster in Training
94 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You