62,267
社区成员
发帖
与我相关
我的任务
分享
//显示控件
Page npage = this.Parent.Page;//首先获得用户控件所在的页面对象
String pdId = npage.Session["AdminSearchPdID"].ToString();
if (pdId != null)
{
dgList.DataSource = MyObject.AdminDataList.GetPlayTimeList(pdId, datetime);
dgList.DataBind();
}
//搜索控件
DRPdLists.SelectedIndex = 0;
this.Page.Session["AdminSearchPdID"] = DRPdLists.SelectedValue;