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. database/initial catalog

database/initial catalog

Scheduled Pinned Locked Moved ASP.NET
database
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.
  • S Offline
    S Offline
    Sonia Gupta
    wrote on last edited by
    #1

    what's the difference between database/initial catalog

    Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

    R 1 Reply Last reply
    0
    • S Sonia Gupta

      what's the difference between database/initial catalog

      Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

      R Offline
      R Offline
      rockyl
      wrote on last edited by
      #2

      Hi Sonia, Initial Catalog" or "Database" represents the Database name. Hope ur question is answered.

      Rakesh

      S 1 Reply Last reply
      0
      • R rockyl

        Hi Sonia, Initial Catalog" or "Database" represents the Database name. Hope ur question is answered.

        Rakesh

        S Offline
        S Offline
        Sonia Gupta
        wrote on last edited by
        #3

        u mean there is no difference

        Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

        R 1 Reply Last reply
        0
        • S Sonia Gupta

          u mean there is no difference

          Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

          R Offline
          R Offline
          rockyl
          wrote on last edited by
          #4

          Yes Sonia, they are!

          Rakesh

          S 1 Reply Last reply
          0
          • R rockyl

            Yes Sonia, they are!

            Rakesh

            S Offline
            S Offline
            Sonia Gupta
            wrote on last edited by
            #5

            i don;t think so

            Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

            P 1 Reply Last reply
            0
            • S Sonia Gupta

              i don;t think so

              Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....

              P Offline
              P Offline
              Parwej Ahamad
              wrote on last edited by
              #6

              (1) If you are making a Database connection string using a Driver then in that use use Database property. (2) If you are making a Dataase connection string using a Datasource property then user Initial Catalog property. --------------- OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = "Driver=SQLOLEDB;" + "Data Source=ServerName;" + "Initial Catalog=DataBaseName;" + "User id=UserName;" + "Password=Secret;"; --------------------- SqlConnection conn = new SqlDbConnection(); conn.ConnectionString = "Data Source=ServerName;" + "Initial Catalog=DataBaseName;" + "User id=UserName;" + "Password=Secret;";

              Parwej Ahamad g.parwez@gmail.com

              S 1 Reply Last reply
              0
              • P Parwej Ahamad

                (1) If you are making a Database connection string using a Driver then in that use use Database property. (2) If you are making a Dataase connection string using a Datasource property then user Initial Catalog property. --------------- OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = "Driver=SQLOLEDB;" + "Data Source=ServerName;" + "Initial Catalog=DataBaseName;" + "User id=UserName;" + "Password=Secret;"; --------------------- SqlConnection conn = new SqlDbConnection(); conn.ConnectionString = "Data Source=ServerName;" + "Initial Catalog=DataBaseName;" + "User id=UserName;" + "Password=Secret;";

                Parwej Ahamad g.parwez@gmail.com

                S Offline
                S Offline
                sulabh2020
                wrote on last edited by
                #7

                I dont think so that this is teh actual difference.

                Hello Forum Always be in touch to help about the topic ASP.NET

                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