File Shares

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a need to read in a file share parameter from a config file to
supply a path to a database file. For ex. "\\fileserver1\database\db.mdb" I
can't just supply this to a connection string in c# to access the database.
The connetion would just throw an error, so what do I need to do in order for
the connection string accept path to database on remote machine. I wouldn't
have a mapped network drive to file server setup. So how would I go about
accepting just UNC paths and creating a legal path to database?

Thanks,

JJ
 
Back
Top