Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3311054
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:49:54+00:00 2026-05-17T21:49:54+00:00

rs.Open select * from applicationdetailstable, con, adOpenDynamic, adLockOptimistic If rs.BOF = False Then disp

  • 0
rs.Open "select * from applicationdetailstable", con, adOpenDynamic, adLockOptimistic
If rs.BOF = False Then
    disp
End If

End Sub

Sub disp()
    Text1.Text = rs.Fields(1)
    Text2.Text = rs.Fields(2)
End Sub

Private Sub Command1_Click()
    ' Move First
    rs.MoveFirst
    disp
End Sub

Private Sub Command2_Click()
    ' Move Previous
    rs.MovePrevious

    If rs.BOF Then rs.MoveFirst
    disp
End Sub

Private Sub Command3_Click()
    'Move Next

    rs.MoveNext
    If rs.EOF Then rs.MoveLast
    disp
End Sub

Private Sub Command4_Click()
    'Move Last
    rs.MoveLast
    disp
End Sub

This is the coding in visual basic

Am using access as my back end.

I need the same function in vb.net.

Am using the same 4 command buttons (move first, previous, next and last)
Wat is the code that i could use ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:49:55+00:00Added an answer on May 17, 2026 at 9:49 pm

    You have a couple options. In the .Net world we’ve moved from using the ADO RecordSet object to either DataSets or DataReaders.

    To read individual rows you can check out the SQLDataReader class: http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.aspx

    Alternatively, you can load your whole set of data into a DataSet object and iterate over it’s Rows collection:
    http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx

    And for reference, here’s a link showing the differences between ADO and ADO.Net:
    http://msdn.microsoft.com/en-us/library/904fck4k%28VS.71%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings[erp].ConnectionString); con.Open(); string intero = Select * from judete; SqlCommand
I'm working on a open source script. (https://github.com/keverw/Random-Quotes) SELECT * FROM quotes WHERE text
con.Open(); MySqlDataAdapter adapter = new MySqlDataAdapter(SELECT * FROM `call`, con); DataSet dataset = new
I have a stored procedure DECLARE cursor FOR SELECT [FooData] From [FooTable]; OPEN cursor
Will a query like this on a recordset work rs.open select * from table
I select data from several tables. Then i need to edit the data returned
How can I drop a file(or select to open it in Finder) of a
Is it possible to select the whole folder in VB.NET open dialog box? By
Currently when I open a file with my program I can select files on
How would I go about showing an open file (or file select) dialog in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.