Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: [asp_beginners]Connecting to the Database


Message #1 by "Liliana Maria Rodriguez" <lperezmtl84@h...> on Wed, 26 Feb 2003 02:19:13 +0000
Hi,

I'm trying connecting to the database MSAccess and SQLServe an all time I 
have an error. Please let me know.
Thanks very much
LILIANA




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail

Message #2 by Mark Eckeard <meckeard2000@y...> on Tue, 25 Feb 2003 19:03:38 -0800 (PST)
Liliana,

Please post your code and the error message you get.

Mark.
--- Liliana Maria Rodriguez <lperezmtl84@h...>
wrote:
> 
> Hi,
> 
> I'm trying connecting to the database MSAccess and
> SQLServe an all time I 
> have an error. Please let me know.
> Thanks very much
> LILIANA
> 
> 
> 
> 
>
_________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months
> FREE*   
> http://join.msn.com/?page=features/junkmail
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
Message #3 by "Alex Smotritsky" <alex.smotritsky@v...> on Tue, 25 Feb 2003 22:31:47 -0500
Here's what I use for sql server:

SqlConnection myConnection = new
SqlConnection("server=localhost;uid=sa;pwd=YourPassword;database=YourDat
abaseName");

For access you will probably need something like OleDbConnection instead
of SqlConnection 

YMMV


-----Original Message-----
From: Liliana Maria Rodriguez [mailto:lperezmtl84@h...] 
Sent: Tuesday, February 25, 2003 9:19 PM
To: aspx_beginners
Subject: [aspx_beginners] [asp_beginners]Connecting to the Database



Hi,

I'm trying connecting to the database MSAccess and SQLServe an all time
I 
have an error. Please let me know.
Thanks very much
LILIANA




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail



Message #4 by "eyetalion" <eyetalion1@h...> on Wed, 26 Feb 2003 19:48:02
yes, the error message will help us steer you in the right directiton

  Return to Index