Click to See Complete Forum and Search --> : ASP.NET access a network file?


haipengl
July 29th, 2005, 05:41 AM
Hi,

I got a project to write a asp.net web program with C#.
In this project, I have to access our company's data files from from several computers in our office network.

how can I access the network files from a web application?

I used "if (Directory.Exists(path)) { ... }", but always fail.

would please help?

thanks
larry

pj19
July 29th, 2005, 03:14 PM
I use an access database with an OLE column that specifies where the file is. Then I made an ASP.NET page that has a datagrid with the OLE column as a hyperlink column. It is the Document Control System for the company I work for.