I have added namespace in web.config pages section. Can use it in aspx not in ascx. What should I do ?
Upda开发者_如何学Cte: have added System.Web.Security with import directive but still can't see User class in Intellisense why ?
Thanks.
You should go with a @ Import
directive:
<%@ Import Namespace="Your.Namespace" %>
精彩评论