How to find or filter in ADO.NET with VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Marta6418
    New Member
    • Jul 2014
    • 2

    How to find or filter in ADO.NET with VB.NET

    Good afternoon
    I'm trying to upgrade a VB6 + ADO (SQL Server) application to VB.NET and taking advantage of the ADO.NET speed.
    My problem is how can I, using ADO.NET SqlDataReader, do something like :

    myRecordset.Mov efirst
    myRecordset.Fil ter="myField=" & myValue

    or

    myRecordset.Mov efirst
    myRecordset.Fin d "myField=" & myValue

    Thanks in advance
Working...