Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net Object reference not set to an instance of an object

Hi in ASP.net I am getting the error "Object Referenc not set to an instance of an object" in the following line of code.
The Gridview is definitely there and has data. What might cause this?

            For i As Integer = 0 To Me.GridViewData.Rows.Count - 1

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much