2009年5月24日
摘要: 跨网页公布(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... 阅读全文
posted @ 2009-05-24 16:28 sinbad_li 阅读(434) 评论(0) 推荐(0) 编辑
摘要: ASP.NET中页面传值 一、目前在ASP.NET中页面传值共有这么几种方式:1、表单提交, <form action= "target.aspx" method = "post" name = "form1"><input name = "param1" value = "1111"/><input name = "param2" value = "2222"/&g... 阅读全文
posted @ 2009-05-24 15:54 sinbad_li 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Control.FindControl (String):在当前的命名容器中搜索带指定 id 参数的服务器控件。(有点类似javascript中的getElementById(string))简单的例子:<form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server">... 阅读全文
posted @ 2009-05-24 15:48 sinbad_li 阅读(3868) 评论(2) 推荐(2) 编辑