在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文件中取值
<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文件中取值
http://topic.csdn.net/u/20080121/16/f717090d-7000-4e40-9100-6559a5149131.html
Response.Redirect(String.Format("~index.aspx?name={0}",name);在index页面的后台用 Request["name"]就可以获得传来的值了。