I am tryin to write a GUI code for A window form application using VS 2010 (.netframework 4.0). However when inculde UI as in :
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.
Take a look at this tutorial for how to consume a web service; assuming you're not creating the service too you should start at step 2 (halfway down the page I linked to).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.