Reputation: 1
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?
Upvotes: 0
Views: 424
Reputation: 6061
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).
Upvotes: 1