请给出简单例子,谢谢

解决方案 »

  1.   

    in ASP.NET, you could conenct to a local sql server with named pipes, but as you might know, ASP.NET runs under ASPNET account (Network Service account in windows 2003 server), it has very low privileges. You might consider to use a higher privileged accountInter-Process Communication in .NET Using Named Pipes, Part 1
    http://www.codeproject.com/csharp/DotNetNamedPipesPart1.aspInter-Process Communication in .NET Using Named Pipes, Part 2
    http://www.codeproject.com/csharp/DotNetNamedPipesPart2.aspalso see
    INFO: Implementing Impersonation in an ASP.NET Application
    http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q306158
      

  2.   

    楼主说的是 应用sql server的命名管道进行连接吗?