Need to install SQL Server Express database from my app

G

groovyjman21

Hi, I am developing a c# application that uses SQL Server Express. I
need to be able to install SQL Server Express programmmatically then
run some scripts to create the tables. I can't find much documentation
about how to do this stuff programmatically on the web. So if anybody
has any tips links or sample code on how to do this I'd be grateful.
I'm an intermediate developer and have Visual Studio 2005.
 
J

Jianwei Sun

Hi, I am developing a c# application that uses SQL Server Express. I
need to be able to install SQL Server Express programmmatically then
run some scripts to create the tables. I can't find much documentation
about how to do this stuff programmatically on the web. So if anybody
has any tips links or sample code on how to do this I'd be grateful.
I'm an intermediate developer and have Visual Studio 2005.
Check out the smo for the sql server 2005, you can almost do everything
with smo.

http://msdn2.microsoft.com/en-us/library/ms162169.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top