Code Crafting Diaries
Crafting Code, Creating Wonders
Pages
Home
My Resume
My WordPress Blog
Wednesday 13 June 2018
Filtering Distinct using DataView
Filtering Distinct using DataView
Actual Table
DataTable
dt =
new
DataTable
();
DataView
dv =
new
DataView
(dt);
gv.DataSource = dv.ToTable(
true
,
new
string
[]
"ProductId"
,
"ProductName"
,
"IsActive"
});
gv.DataBind();
After Apply Rowfilter----
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment