c# ComboBox SelectedindexChanged (combobox filled withSQL)

Dec 21 2013 6:05 AM

Greetings,

I have a comboBox and I want to fill it with Data from 2 tables (Sql Server)... And with ComboBox selectedindexchanged event to populate a few labels with the data from ComboBox items...So how to distinguish the tables ... I mean I have table Customers and table Clients.If I selectindex data from Clients to populate the labels with data from clients and if the index is from Customers data ... to populate the labels with data from Customers.
 


Answers (1)