PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET connecting to an Acess Database

Reply

connecting to an Acess Database

 
Thread Tools Rate Thread
Old 22-09-2003, 07:04 PM   #1
Jason Shohet
Guest
 
Posts: n/a
Default connecting to an Acess Database


Hi,
I working on an application that connects to an access database. When I set
the OledbConnection and OledbDataAdapter locally I have no problems. Now I
want to add an UltraWebGrid to the page and I want to set a DataAdapter on
the page (by dragging a OledbDataAdapter and OledbConnection onto the page)
but and I can't get a connection to the database. Any ideas on how to
solve this

Thanks


  Reply With Quote
Old 22-09-2003, 08:50 PM   #2
Hussein Abuthuraya[MSFT]
Guest
 
Posts: n/a
Default RE: connecting to an Acess Database

Jason,

>When I set the OledbConnection and OledbDataAdapter locally I have no problems.


What do you mean by locally? Do you mean if you have the OleDbCOnnection object to connect to a local Access database (on the same web Server)?

>Now I want to add an UltraWebGrid to the page and I want to set a DataAdapter on

the page (by dragging a OledbDataAdapter and OledbConnection onto the page)
but and I can't get a connection to the database.

Do this OleDbConnection points to the same Access database as in the case that works?

>Any ideas on how to solve this


If you provide a more detailed description and the exact error message, it would make it easier to provide an answer.



Thanks,
Hussein Abuthuraya
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Microsoft Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off