datatable dt=new datatable();
DataView dv = new DataView(dt);
dv.RowFilter = Condition;
ViewState[ViewStateName] = dv;
Liked By
Write Answer
Assign dataview value to view state
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
AVADHESH PATEL
29-Jan-2013Hi Mark Devid!
You can try this line of code
datatable dt=new datatable();
DataView dv = new DataView(dt);
dv.RowFilter = Condition;
ViewState[ViewStateName] = dv;