i have a gridview named GridView1 which has 6 columns 1st and 6th is a buttonfield.
on a button submit click i binded gridview1 now i have another function for which i need Gridview1 column data.
i tried usingbut when it comes to this line it shows an error:
- lblname.text= GridView1.SelectedRow.Cell[2].text
object reference not set to an instance of an object

Mageshwaran RPosted Nov 24, 2019, 12:54 AM
Subin ThomasPosted Jun 7, 2019, 6:09 AM
Rupesh KahanePosted Jun 7, 2019, 5:53 AM
Ronika JencyPosted Jun 7, 2019, 5:40 AM
Subin ThomasPosted Jun 7, 2019, 5:29 AM
Ronika JencyPosted Jun 7, 2019, 4:35 AM
Subin ThomasPosted Jun 7, 2019, 12:18 AM
Gajendra JangidPosted Jun 7, 2019, 12:08 AM