Tuesday, October 1, 2013
DataTable Rows filter
DataView dv = dsDetail.Tables["Employee"].DefaultView;
dv.RowFilter = "Id in(10,2,1,5,6,1)";
DataTable dt = dv.ToTable();
((Repeater)ctrl).DataSource = dt;
((Repeater)ctrl).DataBind();
Subscribe to:
Posts (Atom)