How to use DISTINCT in dataTable.select method

  • Thread starter Thread starter Balu Smiles
  • Start date Start date
B

Balu Smiles

Hi All,

can body give solution to this

________________________________________________
Dim oDataRow As DataRow
oTable = oDataset.Tables(0)
Dim objResults() As DataRow
objResults = oTable.Select("DISTINCT objType")
For Each oDataRow In objResults
debug.writeline(((oDataRow("objType")))
Next
________________________________________________

Thanks

BaluSmiles


Thanks
 
select method accepts filter condition as 1st parameter if you send any
parameter. I don't think, distinct objType is valid filter condition.

Rajesh Patel
 
Back
Top