This is a migrated thread and some comments may be shown as answers.

Assigning datatable Field value raises NullReferenceException was unhandled

1 Answer 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shah
Top achievements
Rank 1
Shah asked on 28 Jan 2012, 11:51 AM

Hi
I m having this error. Can anyone please help me. frmSetCountry Variable has value in it.
Thanks

1 Answer, 1 is accepted

Sort by
0
Shah
Top achievements
Rank 1
answered on 28 Jan 2012, 12:52 PM
Ok. I have found where the problem was. I wasn't defining columns before assigning the values.
Tags
GridView
Asked by
Shah
Top achievements
Rank 1
Answers by
Shah
Top achievements
Rank 1
Share this question
or