Re: dsn connection
From: Mike (anonymous_at_discussions.microsoft.com)
Date: 06/16/04
- Next message: Raterus: "Re: Show Page To IE5"
- Previous message: ashelley_at_inlandkwpp.com: "Re: PopUp a confirmation message"
- In reply to: Kevin Spencer: "Re: dsn connection"
- Next in thread: Jon: "Re: dsn connection"
- Reply: Jon: "Re: dsn connection"
- Reply: Kevin Spencer: "Re: dsn connection"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 10:54:35 -0400
why do want to do want? Setup a DSN or how i'm doing it now in the code?
'Server=servername;Database=DBName"
If i keep it like it is now doesn't the SQL Server DB have to reside on the
web server? If I create a DSN who cares what servers its on, i just need to
point to a DSN on the web server.
"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:ObFF$C7UEHA.3596@tk2msftngp13.phx.gbl...
> Why on earth would you want to do that? You're adding an unnecessary layer
> of processing and file IO to accomplish the same thing. All a DSN does is
> store information that you can put right into your Connection String. In
> addition, it uses ODBC, which is a wrapper for OLE DB, and using the
native
> SQL Data classes is much faster.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "Mike" <anonymous@discussions.microsoft.com> wrote in message
> news:O5oUx56UEHA.1036@TK2MSFTNGP12.phx.gbl...
> > In my code i'm pointing to a SQL server name and SQL database name on
the
> > server, etc.
> > Instead of that how can i point to a DSN connection on the web server
that
> > points to the SQL Server and DB?
> >
> >
> >
>
>
- Next message: Raterus: "Re: Show Page To IE5"
- Previous message: ashelley_at_inlandkwpp.com: "Re: PopUp a confirmation message"
- In reply to: Kevin Spencer: "Re: dsn connection"
- Next in thread: Jon: "Re: dsn connection"
- Reply: Jon: "Re: dsn connection"
- Reply: Kevin Spencer: "Re: dsn connection"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|