Click here to Skip to main content
15,666,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Everyone...I'm using in my project a gridview1 and there is one MapControl on the same form. by the way I'm use the BingMaps application on the map. Now I want to do it. When I click on the Gridview1 row the name of the city in that column is shown on the mapcontrol.

How can I do that..Please give an example!

What I have tried:

string DepPlace = gridView1.GetFocusedRowCellValue("DepPlace").ToString()
Updated 16-Jun-18 15:41pm

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900