Can we store DataView values in session or viewstate?
Loading
Can we store DataView values in session or viewstate?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Jan 1, 2008, 2:01 PM
You can store any object in a session and/or view state.
Session("UserDataView") = myDataView
You can read it back in a DataView object by converting from object to DataView.
Dim myDataView ad DataView = CType(Session("UserDataView"), DataView)