Select Row In GridView

Joined
Sep 2, 2012
Messages
14
Programming Experience
Beginner
Hi Experts,
I have dropdownlist in the gridview when i select the dropdownlist then i want to retrieve the currently select row data
I tried with
Dim cnt As Integer = GridView1.SelectedRow.RowIndex
but it is giving me an error as "Object reference not set to an instance of object"
Any Help would be greatly appreciated
Thanks
Shafi
 
Back
Top