Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

please tell me what is its problem

thanks

 

Look at this part of code :

-------------

this.dbCon.ConnectionString = @"Jet OLEDB:Global Partial Bulk Ops=2;

Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;

Data Source="+ Server.MapPath("Databse/myDB.mdb")+";";

Jet OLEDB:Engine Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";

Jet OLEDB:System database=;Jet OLEDB:SFP=False;

persist security info=False;Extended Properties=;

Mode=Share Deny None;Jet OLEDB:Encrypt Database=False;

Jet OLEDB:Create System Database=False;

Jet OLEDB:Don't Copy Locale on Compact=False;

Jet OLEDB:Compact Without Replica Repair=False;User ID=Admin;

Jet OLEDB:Global Bulk Transactions=1";

 

----------------------------------

Edited by Flovit
Posted

I wanted to set a custom path for my database

and using MapPath to set the location but everytime I edit it

I get an error again

If you know how I must do this please tell me

thanks

Posted

You're right wessamzeidan... it's what I use for my programs.

It's called relative directory. :p :D

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...