User属于Page类,而用户控件集成自WebControl类,不能直接使用User.Identity的相关属性
可以使用System.Web.HttpContext.Current.User.Identiy来使用
相关文章:
-
2021-05-05
-
2021-07-16
-
2021-07-24
-
2021-12-24
-
2021-08-04
-
2021-07-01
猜你喜欢
-
2021-05-22
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-02-10
相关资源
-
下载
2023-04-08
-
下载
2023-03-12
-
下载
2022-12-25