dataview with few rows

  • Thread starter Thread starter Sunil Ramineni
  • Start date Start date
S

Sunil Ramineni

Hi Guys,
Could someone shed some light on how i can create a new dataview with first
10 rows from a datatable?

Thanks,
Sunil
 
Hi Sunil,

Add a column to datatable, put in row number and do a RowFilter on that
column.
 
Hi Sunil,

This should work:
Dim vue As New DataView(ods.Tables(0))

vue.Table.Select("select top 10 from histd_")

HTH,

Bernie Yaeger
 
Thanks Miha and Bernie for quick response. Adding a column and doing
RowFilter worked.

Thank you very much.

: Sunil
 
Back
Top