By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

How can I display value in datagridviewtextbox based on selected value in datagridvie

P: 1
I have a datagridview with the following column using visual basic 2005
1-First column is country code as DataGridViewTextBoxColumn
2-Second column is country name as DataGridViewComboBoxColumn
3-Third column is city code as DataGridViewTextBoxColumn
4-Forth column is city name as DataGridViewComboBoxColumn
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
Oct 4 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.