ASPX文件:
<uc1:lan27 id="lan271" runat="server" dispnum="30"></uc1:lan27>
CS文件:
private string _dispnum = ""; //定义显示条数
public string dispnum
{
get
{
return _dispnum;
}
set
{
_dispnum = value;
}
}
读取属性值:
strnig xsts=this.dispnum;