2
Reply

How Do I Get the value of a selected Cell or Row from the Data Grid View Control

Thomas Breslin

Thomas Breslin

Apr 26 2008 3:25 PM
2.9k

I have a list of football teams displaying in the Data Grid View Control and I want to know how I can find out what team was clicked on so I can display an appropriate form for that team. Right now when I click on an individual team the event that is called is the Cellcontent_clicked event but I don't know what team I clicked. I am new to programming in Visual Studio and C# so I would appreciate any help anyone can give me on the topic.

Thanks


Answers (2)