[英]Web Application creation using VS2010
I am tryin to write a GUI code for A window form application using VS 2010 (.netframework 4.0). 我正在尝试使用VS 2010(.netframework 4.0)为A窗口表单应用程序编写GUI代码。 However when inculde UI as in :
但是,当按如下所示插入UI时:
using System.Web.UI;
using System.Web.SessionState;
it tells me 它告诉我
the type or namespace name 'UI' does not exist in the namespace System.Web
and same prob for sessionstate. 和会话状态相同的概率。
What should i do? 我该怎么办?
To create a windows form app you want the System.Windows.Forms
namespace to build your UI. 要创建Windows窗体应用程序,您需要
System.Windows.Forms
命名空间来构建UI。
Take a look at this tutorial for how to consume a web service; 看一下本教程 ,了解如何使用Web服务。 assuming you're not creating the service too you should start at step 2 (halfway down the page I linked to).
假设您也没有创建服务,则应从第2步(我链接到的页面的下半部分)开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.