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. Create database from asp.net

Create database from asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesysadminhelp
4 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.
  • D Offline
    D Offline
    dream_liner_7e7
    wrote on last edited by
    #1

    i have to create database(create database dbname) from asp.net into sqlserver 2005, i m accepting server ip/name, uid, pwd to connect. How to do that ? need help Thanks in advance.

    A A 2 Replies Last reply
    0
    • D dream_liner_7e7

      i have to create database(create database dbname) from asp.net into sqlserver 2005, i m accepting server ip/name, uid, pwd to connect. How to do that ? need help Thanks in advance.

      A Offline
      A Offline
      AlexeiXX3
      wrote on last edited by
      #2

      You need to have permission for creating database Then, all you need to do is to execute the correct instructions to create the database and structure CREATE DATABASE ... Just script out any of your exiisting databases to see the syntax

      Alexei Rodriguez

      1 Reply Last reply
      0
      • D dream_liner_7e7

        i have to create database(create database dbname) from asp.net into sqlserver 2005, i m accepting server ip/name, uid, pwd to connect. How to do that ? need help Thanks in advance.

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        dream_liner_7e7 wrote:

        i have to create database(create database dbname) from asp.net into sqlserver 2005,

        you can create using CREATE DATABASE command.

        dream_liner_7e7 wrote:

        i m accepting server ip/name, uid, pwd to connect. How to do that ? need help

        Why you are trying to do so? means each client will able to create database in server ?:confused: X| or what ?

        cheers, Abhijit

        D 1 Reply Last reply
        0
        • A Abhijit Jana

          dream_liner_7e7 wrote:

          i have to create database(create database dbname) from asp.net into sqlserver 2005,

          you can create using CREATE DATABASE command.

          dream_liner_7e7 wrote:

          i m accepting server ip/name, uid, pwd to connect. How to do that ? need help

          Why you are trying to do so? means each client will able to create database in server ?:confused: X| or what ?

          cheers, Abhijit

          D Offline
          D Offline
          dream_liner_7e7
          wrote on last edited by
          #4

          Basically i m creating a web based installer where users will create database and execute sqlscript on there hosting server, that y i need hosting server ip, uid, pwd. The create database dbname will run for the first time to create the database then executing sqlscript will create structure in that database. thats y i was confused how to create DB on the fly.

          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