Answer to Question #39820 in C# for saji

Question #39820
HiI have an App.Config file to make connection string in C# project. this is my code
when I use this code where (AttachDbFilename=|DataDirectory|Database.mdf) my data hasn't saved in database but when I use full path like this (AttachDbFilename="C:Usersuser1Documents...Database.mdf) data has saved successfully.

what's happened? What can I do?
thanks
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS