First Record in DataView

  • Thread starter Thread starter Jim via DotNetMonster.com
  • Start date Start date
J

Jim via DotNetMonster.com

Hi,

How can I retrieve the first record in a dataview:

Dim dvNumber as New DataView(tbllist)
dvNumber.RowFilter="PageType='Parag'"
datagrid1.DataSource=dvNumber

So normally with a select I would use Top 1

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top