有2种方法:大家可以试试
1。
((Page)System.Web.HttpContext.Current.Handler).ViewState["Whatever"]
2。
public void checkitout(string param1,System.Web.UI.Page tmpPage);
调用checkitout("baby",this)
如何在UserControl中调用所在页面的ViewState
最新推荐文章于 2017-11-09 14:02:00 发布
