Basic use of DataView in Ado.Net
Explain the basic use of DataView?
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.
Sandeep Singh ShekhawatPosted Nov 2, 2012, 7:19 AM
DataView dv1 = ds.Tables[0].DefaultView;//CREATE DATA VIEW
dv1.Sort = "Title"; //SORT ROWS
dv1.RowFilter = "Title like a%"; // FILTER ROWS
DataRowView[] drv = dv1.FindRows("my movie"); //FIND ROWS WHICH TITLE