[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


create table from "server dialog"

Posted on 2006-06-08
Medium Priority
Last Modified: 2010-04-16
Hi Experts,
                 I would like to create a table in SQL Server but instead of supplying the connection object and CREATE TABLE statement with Server, Database and table names in the code, take the first and second pieces of information from the browser like openfileDiaolog and assign the table name and fields info from say a textBox. Can it be done with the expertise available on this forum?

Question by:Autofreak
1 Comment
LVL 12

Accepted Solution

sumix earned 2000 total points
ID: 16871402
Here you have an example that retrieves a list of available SQL Servers, and databases, using SQLDMO

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question