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. Web Development
  3. ASP.NET
  4. how to connect to DB dynamically in ASP .net

how to connect to DB dynamically in ASP .net

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-nethelptutorial
3 Posts 2 Posters 1 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.
  • M Offline
    M Offline
    Meena T Shivaram
    wrote on last edited by
    #1

    hi friends, I'm trying a program in ASP.net where I need to connect to access Database dynamically.I've a gridview which'll display the results of a select statement. Can you please tell me all the steps involved in connecting to the database and displaying the results in a gridview ? I'm new to asp.net & hence please provide all the steps that I need to do in order to get the output. Thanks in advance... Thank you all for your help..

    W 1 Reply Last reply
    0
    • M Meena T Shivaram

      hi friends, I'm trying a program in ASP.net where I need to connect to access Database dynamically.I've a gridview which'll display the results of a select statement. Can you please tell me all the steps involved in connecting to the database and displaying the results in a gridview ? I'm new to asp.net & hence please provide all the steps that I need to do in order to get the output. Thanks in advance... Thank you all for your help..

      W Offline
      W Offline
      wEb GuRu
      wrote on last edited by
      #2

      Hi There are many ways to connect to database in ASP.net. Instead of telling you about my logic I would prefer you to use Microsoft Standards and tutorial for this. Please visit http://asp.net/learn/dataaccess/default.aspx?tabid=63[^] Regards Tayyab

      Lets work it Out.........!

      M 1 Reply Last reply
      0
      • W wEb GuRu

        Hi There are many ways to connect to database in ASP.net. Instead of telling you about my logic I would prefer you to use Microsoft Standards and tutorial for this. Please visit http://asp.net/learn/dataaccess/default.aspx?tabid=63[^] Regards Tayyab

        Lets work it Out.........!

        M Offline
        M Offline
        Meena T Shivaram
        wrote on last edited by
        #3

        Thanks Tayyab, It's a great site.Got to work on DataAdapters,DataTables ,Datasets etc...It was wonderful to see the outputs.. Thanks a lot...

        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