摘要:
跨网页公布(Cross.Page Postiing)1. 跨网页POST: WebForm1.aspx文件: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" PostBackUrl="~/WebF... 阅读全文
摘要:
ASP.NET中页面传值 一、目前在ASP.NET中页面传值共有这么几种方式:1、表单提交, <form action= "target.aspx" method = "post" name = "form1"><input name = "param1" value = "1111"/><input name = "param2" value = "2222"/&g... 阅读全文
摘要:
Control.FindControl (String):在当前的命名容器中搜索带指定 id 参数的服务器控件。(有点类似javascript中的getElementById(string))简单的例子:<form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server">... 阅读全文