Question: Error hint--there is no type or namespace name "UI" in the Namespace "system.web" (Is there a missing assembly reference?) How to fix??

Source: Internet
Author: User

Transferred from: http://topic.csdn.net/u/20080723/21/7e1e06cb-d013-4675-ba9b-9b39d49d0a0e.html

1) Add a reference to the System.Web.dll
2) SortDirection enumeration under the System.Web.UI.WebControls namespace, add a reference to the System.Web.dll, and then use this namespace to
Check MSDN for this kind of problem, it's all written.
------------------------------------------------
Note: This enumeration is new in the. NET Framework version 2.0.

Specifies the direction in which the list of items is sorted.

Namespaces: System.Web.UI.WebControls
Assembly: system.web (in System.Web.dll)

Grammar
C#
public enum SortDirection

Question: Error hint--there is no type or namespace name "UI" in the Namespace "system.web" (Is there a missing assembly reference?) How to fix??

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.