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. C#
  4. How to Connect Local Database Server in Button Click With C#.net ?

How to Connect Local Database Server in Button Click With C#.net ?

Scheduled Pinned Locked Moved C#
csharpdatabasesysadmintutorialquestion
5 Posts 4 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.
  • R Offline
    R Offline
    Rahad Rahman
    wrote on last edited by
    #1

    here, when i Click a button then connect to Database server and program run properly

    N M 2 Replies Last reply
    0
    • R Rahad Rahman

      here, when i Click a button then connect to Database server and program run properly

      N Offline
      N Offline
      NarVish
      wrote on last edited by
      #2

      In button click event, write connection string. this will lead to connect to your database. which database you are using?

      1 Reply Last reply
      0
      • R Rahad Rahman

        here, when i Click a button then connect to Database server and program run properly

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        Rahad Will you PLEASE go and buy a book on C# and database programming, work through it and come back when you can ask an intelligent question.

        G 1 Reply Last reply
        0
        • M Mycroft Holmes

          Rahad Will you PLEASE go and buy a book on C# and database programming, work through it and come back when you can ask an intelligent question.

          G Offline
          G Offline
          Greg Chelstowski
          wrote on last edited by
          #4

          Dont you go round encouraging him now! ;)

          var question = (_2b || !(_2b));

          M 1 Reply Last reply
          0
          • G Greg Chelstowski

            Dont you go round encouraging him now! ;)

            var question = (_2b || !(_2b));

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            I did check his history before I became 'encouraging', there seems to be a rash of teach me programming, build my database type post today.

            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