G
GaryB
The following line of code works fine in my code-behind file for an aspx
page:
Dim HeadingRow As DataRow = dsGridReport.Tables(0).NewRow()
But when I transport that same code to a class and run it I get
"Object reference not set to an instance of an object"
Why?
Gary
page:
Dim HeadingRow As DataRow = dsGridReport.Tables(0).NewRow()
But when I transport that same code to a class and run it I get
"Object reference not set to an instance of an object"
Why?
Gary