I have SQL table with three columns ID, CUSTOMERNAME and ADDRESS.
I want to show list of all customers ID in combobox1 and when I will select any one ID then Customer name and address should show in datagridview1 belongs to that ID.
Please advice me code as I am learning programming in C#
Below is my app.config for your reference
<connectionStrings>
<add name="dbx"
connectionString="Data Source=USER\SQLEXPRESS;Initial Catalog=dbInventory;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>