1. WinForm
Application.StartupPath
2. WebForm
Server.MapPath("~")
3. 通用方案,特别适用于类库开发。
AppDomain.CurrentDomain.BaseDirectory
posted on 2007-09-23 08:11 kings 阅读(271) 评论(0) 收藏 举报
刷新页面返回顶部
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。