Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. sqlconnection connection with vb.net

sqlconnection connection with vb.net

Scheduled Pinned Locked Moved Visual Basic
csharpannouncement
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pankajgarg12
    wrote on last edited by
    #1

    Hi, I am using datareader to simulate the records.(First , Previous , Last , Next)Buttons . I had not used sqldataadapter for add , delete , update buttons.I want to continue with the sqldatareader for first , previous , last , next buttons.Can somebody send me any code or link. Thanks :)

    D H 2 Replies Last reply
    0
    • P pankajgarg12

      Hi, I am using datareader to simulate the records.(First , Previous , Last , Next)Buttons . I had not used sqldataadapter for add , delete , update buttons.I want to continue with the sqldatareader for first , previous , last , next buttons.Can somebody send me any code or link. Thanks :)

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't use a DataReader for Forward/Backward navigation. It's a forward-only reader. You'll have to use a DataAdapter and DataSet for this. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      P 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You can't use a DataReader for Forward/Backward navigation. It's a forward-only reader. You'll have to use a DataAdapter and DataSet for this. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        P Offline
        P Offline
        pankajgarg12
        wrote on last edited by
        #3

        Ok, Can you send me any link for that? Thanks :)

        D 1 Reply Last reply
        0
        • P pankajgarg12

          Hi, I am using datareader to simulate the records.(First , Previous , Last , Next)Buttons . I had not used sqldataadapter for add , delete , update buttons.I want to continue with the sqldatareader for first , previous , last , next buttons.Can somebody send me any code or link. Thanks :)

          H Offline
          H Offline
          HL_SUB
          wrote on last edited by
          #4

          Hi. You can not use DataReader for backward reading. You can use disconnected DB. To use that you can use DataSets and DataAdapters. Here is a quick and simple tutorial: http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson05.aspx The tutorial is in C# but the syntax is similar to VB.NET. Have fun. HL

          1 Reply Last reply
          0
          • P pankajgarg12

            Ok, Can you send me any link for that? Thanks :)

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            All you have to do is search the articles... Here[^], this article explains the concepts quite well, though the code is in C#, it's easily convertible to VB.NET. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups