![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: asp.net db connection | |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
Quote:
You populate your connection object with a "connection string". This can be the path to the database (server=x; database=y; uid=z; etc) or it can point at a DSN which then points at the database, if you prefer. I think your connection string would just be Data Source=DSN in that case. The error you printed below sounds like a VB Script aka ASP error. But given the message and the code line Line 26: tbl_VIP_Surv.DataSource=dbread I'd say your tblVIPSurv hasn't been instantiated. In other words, you've declared the variable, but never gave it a value. Dim tblVIPSurv As Object tblVIPSurv = new Some_Class_Name()
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
|
Re: asp.net db connection |
|
I don't know! Do you?
Posts: 477
Name: Chip Johns
Location: Savannah Georgia
|
Thanks,
I've been out for a while... I will try this and get back... Thanks |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |