I have a datagridview with the following column using visual basic 2005
1-First column is country code as DataGridViewTex tBoxColumn
2-Second column is country name as DataGridViewCom boBoxColumn
3-Third column is city code as DataGridViewTex tBoxColumn
4-Forth column is city name as DataGridViewCom boBoxColumn
I filled the Second column is country name from database through programming
My question is :
1-When I select country name how can I display it corresponding country code in it’s cell
2-How can I filter the dropdown display of city name based on selected country and when I select the city name how can I display it’s city code in the third column
Please I need your help with my appreciated
1-First column is country code as DataGridViewTex tBoxColumn
2-Second column is country name as DataGridViewCom boBoxColumn
3-Third column is city code as DataGridViewTex tBoxColumn
4-Forth column is city name as DataGridViewCom boBoxColumn
I filled the Second column is country name from database through programming
My question is :
1-When I select country name how can I display it corresponding country code in it’s cell
2-How can I filter the dropdown display of city name based on selected country and when I select the city name how can I display it’s city code in the third column
Please I need your help with my appreciated