用户控件页面后台:
public string P_Name
{
get { return txt_P_name.Value; }
set { txt_P_name.Value = value; }
}
Web页面后台:
if (head.P_Name != "")
{
strwhere += " and a.P_NAME like '%" + head.P_Name + "%'";
}
用户控件页面后台:
public string P_Name
{
get { return txt_P_name.Value; }
set { txt_P_name.Value = value; }
}
Web页面后台:
if (head.P_Name != "")
{
strwhere += " and a.P_NAME like '%" + head.P_Name + "%'";
}
转载于:https://www.cnblogs.com/hjianguo/p/5228422.html