Introduction
How to pick distinct rows from Datatable in ASP.net, below is written code snippet to go through this one.Firstly declare default view and dv.ToTable(True,Param1,Param2,Param3), and we can pass the parameter to unique column.
Vb.Net code snippet
Dim dv As New DataView dv = dt.DefaultView Dim uniquetabel As DataTable = dv.ToTable(True, "Column1", "Column2")
Post A Comment:
0 comments: