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. ASP.net with MYSQL

ASP.net with MYSQL

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netmysqlquestion
7 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.
  • W Offline
    W Offline
    w209
    wrote on last edited by
    #1

    HEllo friends i would be glad if u help me wih this problem can u tell me the proper way to connect ASP.net with MYSQL if possible tell me what is the procedure to connect it. nad what is required to connect to it. :)

    P M N 4 Replies Last reply
    0
    • W w209

      HEllo friends i would be glad if u help me wih this problem can u tell me the proper way to connect ASP.net with MYSQL if possible tell me what is the procedure to connect it. nad what is required to connect to it. :)

      P Offline
      P Offline
      Piyush Vardhan Singh
      wrote on last edited by
      #2

      u Wana database connection code of ASp.net with my ssql

      Piyush Vardhan Singh p_vardhan14@rediffmail.com

      W 1 Reply Last reply
      0
      • W w209

        HEllo friends i would be glad if u help me wih this problem can u tell me the proper way to connect ASP.net with MYSQL if possible tell me what is the procedure to connect it. nad what is required to connect to it. :)

        P Offline
        P Offline
        Piyush Vardhan Singh
        wrote on last edited by
        #3

        first u Imports Data.SqlClient Imports System.Data.SqlClient Then u Define the connection variable '' Connection string Private ConnString As String = "server="192.168.8.40";Database="DatabaseName";uid="SQLLoginName";pwd="pASSWORD";" define CONNECTION VARIABLE Private _SqlConnection As SqlConnection inslz connection variable _SqlConnection = New SqlConnection(ConnString) ofter that u use this connection

        Piyush Vardhan Singh p_vardhan14@rediffmail.com

        M 1 Reply Last reply
        0
        • P Piyush Vardhan Singh

          first u Imports Data.SqlClient Imports System.Data.SqlClient Then u Define the connection variable '' Connection string Private ConnString As String = "server="192.168.8.40";Database="DatabaseName";uid="SQLLoginName";pwd="pASSWORD";" define CONNECTION VARIABLE Private _SqlConnection As SqlConnection inslz connection variable _SqlConnection = New SqlConnection(ConnString) ofter that u use this connection

          Piyush Vardhan Singh p_vardhan14@rediffmail.com

          M Offline
          M Offline
          Michael Sync
          wrote on last edited by
          #4

          He said "MySQL" not "My SQL".. MySQL is the world's most popular open source database[^] :)

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          1 Reply Last reply
          0
          • W w209

            HEllo friends i would be glad if u help me wih this problem can u tell me the proper way to connect ASP.net with MYSQL if possible tell me what is the procedure to connect it. nad what is required to connect to it. :)

            M Offline
            M Offline
            Michael Sync
            wrote on last edited by
            #5

            Hello, Please check-out this article Using MySQL in ASP.Net[^] more[^]

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

            1 Reply Last reply
            0
            • W w209

              HEllo friends i would be glad if u help me wih this problem can u tell me the proper way to connect ASP.net with MYSQL if possible tell me what is the procedure to connect it. nad what is required to connect to it. :)

              N Offline
              N Offline
              N a v a n e e t h
              wrote on last edited by
              #6

              You can use ODBC[^] or MySQLConnector[^]. ODBC adds an extra layer to the communication which makes your communication slow. So you can use MySQLConnector, which is very efficient. Download the connector from MySQL website. Also when you connect MySQL with ODBC, you will end up with a connection pooling issue which is a known bug for MySQL.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

              1 Reply Last reply
              0
              • P Piyush Vardhan Singh

                u Wana database connection code of ASp.net with my ssql

                Piyush Vardhan Singh p_vardhan14@rediffmail.com

                W Offline
                W Offline
                w209
                wrote on last edited by
                #7

                hey thanx but i want to know how do i configure My Sql with asp.net do let me know please my email id is --->sumitpcool@yahoo.co.in plz do inform me :)

                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