Amit Sohani

Amit Sohani

  • 1.6k
  • 15
  • 415

Tableadapter Method

Jan 9 2019 6:06 AM
I am a newbee and learning C# 2010 on my own (downloading and reading pdf books from internet). My question is as follows:
I am developing a database for customer data. I have created a combobox and datagrid view on a form. My idea is, customer names will be added in combobox. After I choose a particular name, my datagridview will get populated with all the information about the customer. 
     My problem is, when populate the combobox with customer name, at the same time, datagridview also gets polpulated with all information about all the customers. I don't want that to happen. I have created a query for that using wizards. Please guide me for how to write code for this.
 
Thanks in advance
Amit
 

Answers (1)