当前位置:编程学习 > C#/ASP.NET >>

application.StartupPath的问题

大家好:
       我用这个方法获得相对路径,可是弹出错误是:当前上下文不存在名称application,乍么回事呀?
在线等!!! --------------------编程问答-------------------- 用的是:application.StartupPath --------------------编程问答-------------------- System.Windows.Forms.Application.StartupPath --------------------编程问答-------------------- System.Windows.Forms.Application.StartupPath
--------------------编程问答-------------------- Application.StartupPath  --------------------编程问答-------------------- 我试了还是不行。 --------------------编程问答-------------------- 你在类库里用这个么?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,