在aspx文件中有
<uc2:item_shows ID="item_shows1" runat="server" value1="1" />
在ascx文件中有
private int _value1 ;
public int Itemvalue1
{
get { return _value1; }
set { _value1 = value; }
}
如何在ascx文件中 利用value1的值
不知道如何在ascx文件中取值
...全文
23910打赏收藏
aspx文件如何向ascx文件传值
在aspx文件中有 在ascx文件中有 private int _value1 ; public int Itemvalue1 { get { return _value1; } set { _value1 = value; } } 如何在ascx文件中 利用value1的值 不知道如何在ascx文件中取值