Results 1 to 7 of 7
  1. #1

    Default VB.Net code in creating database...


    Is there a VB.Net code that would create a SQL Server database (not tables)? Is it possible? How?

    Thankz...

  2. #2

    Default Re: VB.Net code in creating database...

    configure and add a <connectionstring> to your web.config file that points to your SQL database. i suggest you use MS Visual Basic 2005.

    check this out for video tutorials: http://www.morphian.4t.com


  3. #3

    Default Re: VB.Net code in creating database...

    run this sql command

    USE [master]
    GO
    CREATE DATABASE [DBTEST] ON PRIMARY
    ( NAME = N'pRec7_OLD_Data', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\DBTEST_new.mdf' , SIZE = 25408KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)
    LOG ON
    ( NAME = N'pRec7_OLD_Log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\DBTEST_new.ldf' , SIZE = 248064KB , MAXSIZE = 2048GB , FILEGROWTH = 1024KB )
    COLLATE SQL_Latin1_General_CP1_CI_AS
    GO
    EXEC dbo.sp_dbcmptlevel @dbname=N'DBTEST', @new_cmptlevel=90

  4. #4

    Default Re: VB.Net code in creating database...

    Ah.. ok thankz...

  5. #5
    Godbless people

  6. #6
    Elite Member
    Join Date
    Jun 2010
    Gender
    Male
    Posts
    1,018
    hibung lang ko da...abi nako maghimo gyud ka og imong database...

  7. #7
    mao dyud abi sad naku. hehehe...

  8.    Advertisement

Similar Threads

 
  1. How to create MS Access Database in VB.Net
    By cjoyce12 in forum Programming
    Replies: 1
    Last Post: 01-24-2011, 02:06 PM
  2. Codes in creating ICM
    By Burn Out in forum Software & Games (Old)
    Replies: 3
    Last Post: 12-04-2009, 09:21 AM
  3. how to create dll like shell32 in vb.net
    By kibotizer in forum Programming
    Replies: 7
    Last Post: 12-17-2007, 11:22 AM
  4. MOVED: Harcoding or Drag'n'Drop in VB.NET
    By vern in forum Software & Games (Old)
    Replies: 0
    Last Post: 11-10-2007, 02:27 PM
  5. Harcoding or Drag'n'Drop in VB.NET
    By DeathFox in forum Programming
    Replies: 2
    Last Post: 11-09-2007, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top