DataView Concept

DataView is similar to Dataset but in dataview we can filter the records.

eg.
DataView dv = new DataView(datatable);
string QryStr = "PageNoFrom <=" + PgNos + " " + "and" + "  " + "PageNoTo >=" + PgNos;
dv.RowFilter = QryStr;

int PAGENOSTO = System.Convert.ToInt32(dv[0]["PageNoTo"].ToString());

Comments

Popular posts from this blog

How to retain the data annotations or class during modify a table in the database

Interview Questions

AJAX CONTROL