Results 1 to 2 of 2

Thread: .NET Create Table in Web App

  1. #1
    Join Date
    Apr 2012

    .NET Create Table in Web App


    I am a new Web Developer, and am using Visual Studio 2010 Ultimate and programming in C#. I am interested in creating a web app that will allow me to create and link sql tables from the finished web app. I know I can create tables from the Server explorer, etc. But I want users to be able to go in and as they use the app, tables are created to help manage the information that they contribute. Does Visual Studio have a built in tool to accomplish this, or is there a way to code it in? Ideally I'm just going to make a wizard that asks them what columns they want in the table, and then they click finish and it creates the table, then they can start adding information to the table they created, all being stored on the SQL server. Thanks for your help!

  2. #2
    Join Date
    Oct 2009
    It's the same as any existing application out there that does that.

    using (SqlCommand command = connection.CreateCommand())
    command.CommandText = ''; /* Build your SQL */
    Good Luck

    Santos Systems

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center