Posted by Piero 'Giops' Giorgi on 06/11/07 23:33
On 11 Giu, 14:30, Erland Sommarskog <esq...@sommarskog.se> wrote:
> > I tried the code but I want any SQL Data Base and not Adventure Works
>
> Just replace AdventureWorks in the connection string with the database
> of your choice. I used AdventureWorks to give you a working sample.
And just to be more specific...
' Connection string, change server and database!
strConn = "Application Name=systablesdemo;Integrated
Security=SSPI;"
strConn &= "Data Source=(local);Initial Catalog= ***** YOUR
DATABASE HERE **** "
P
Navigation:
[Reply to this message]
|