Hello everyBody

Thanks a lot for your advice. THAT'S A SUPER GREAT HELP!.. I will give it a try and see if I can get it right...

导航

如何在UserControl中调用所在页面的ViewState (转)

有2种方法:大家可以试试

1。
((Page)System.Web.HttpContext.Current.Handler).ViewState["Whatever"]  

2。
public  void  checkitout(string  param1,System.Web.UI.Page  tmpPage);  
调用checkitout("baby",this)

posted on 2005-05-26 17:27  用好  阅读(819)  评论(1编辑  收藏  举报