取得路径,使用Application.StartupPath时报错 错误:System.Web.HttpApplicationState”并不包含“StartupPath”的定义,查过msdn说Application.StartupPath是System.Windows.Forms内的东西,那么我在取得路径时不能使用Application.StartupPath了吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你要取得什么路径?网站根目录的物理路径?string path = Server.MapPath("~/"); Server.Mappath(".");//这个就是你要的。。 winform里用Application.StartupPathaspp.net里 Server.MapPath("~/"); 请教水晶报表达人 有人用emgucv和C#做图像处理么? INSERT INTO 语句错误 如何显示dataGrid某行某列的值 VS2005的问题 线程问题 初级问题 关于项目间的引用,引发的internal的疑问 水晶报表-根据DataSet动态生成报表字段.做过的请进 C# 等值线或者等高线 求救,桌面应用程序中,怎么保存webbrowser中打开的Word文档? 40分求动态生成tabControl和数据绑定问题
string path = Server.MapPath("~/");
aspp.net里 Server.MapPath("~/");