P
Pradeep
Hi,
I am storing the DataTable in a ViewState.
ViewState("mydata") = dsRedemption.T_Redemption_Dtl
Then I am casting the ViewState into a DataTable variable.
Dim x As New DataTable
x = CType( ViewState("mydata"), DataTable)
This is giving me a error where it's not allowing me to Cast it. If i
directly see the data in the ViewState("mydata") it's perfectly fine. First
of all, is it advisable to store the DataTable in the ViewState ???
Any idea ???
Pradeep
I am storing the DataTable in a ViewState.
ViewState("mydata") = dsRedemption.T_Redemption_Dtl
Then I am casting the ViewState into a DataTable variable.
Dim x As New DataTable
x = CType( ViewState("mydata"), DataTable)
This is giving me a error where it's not allowing me to Cast it. If i
directly see the data in the ViewState("mydata") it's perfectly fine. First
of all, is it advisable to store the DataTable in the ViewState ???
Any idea ???
Pradeep