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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hosny
    New Member
    • Oct 2013
    • 1

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

    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
    Last edited by Rabbit; Oct 4 '13, 03:20 PM. Reason: E-mail removed per forum policy.
Working...