4
Answers

NullReferenceException in gv1_RowDataBound event

Photo of ali raza

ali raza

14y
2.2k
1

Hi guys, I have a GridView control and bind an onject of typed list to it, but when gv1_RowDataBound event is called NullReferenceException exception occurs showing following message:

 

Object reference not set to an instance of an object.

 

Can somebody tell me what is going wrong?

Answers (4)

0
Photo of Shefali Lahariya
NA 183 7.5k 7y
not working?
 
0
Photo of Asad Ali
NA 1.3k 63.6k 7y
Will this help?
https://stackoverflow.com/questions/20059237/httpwebrequest-the-remote-server-returned-an-error-500-internal-server-error