cs:
public partial class js_picmar : System.Web.UI.Page
{
protected string s = "";
protected void Page_Load(object sender, EventArgs e)
{
}
}
aspx:
<%=s%>
不能为private。
查看更多关于aspx如果引用cs中的变量的方法的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did36361