CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2000
    Posts
    73

    Question ASP.NET access a network file?

    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

  2. #2
    Join Date
    Jun 2005
    Posts
    15

    Re: ASP.NET access a network file?

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured