connecting to an Acess Database

  • Thread starter Thread starter Jason Shohet
  • Start date Start date
J

Jason Shohet

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
 
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.
 
Back
Top