2010年3月1日
摘要: /// 获得客户端IP /// /// <returns></returns> private string getIp() { // 穿过代理服务器取远程用户真实IP地址 string Ip = string.Empty; if (Request.ServerVariables["HTTP_VIA"] != null) { if (Request.ServerVaria... 阅读全文
posted @ 2010-03-01 15:37 MissSoft 阅读(2602) 评论(0) 推荐(0) 编辑
摘要: protected void btnSort_Click(object sender, EventArgs e) { string array1 = txtSort.Text.Trim(); string[] array21=array1.Split(','); int dxiao = array21.Length; int[] array = new int[dxiao]; int temp=0... 阅读全文
posted @ 2010-03-01 13:22 MissSoft 阅读(260) 评论(0) 推荐(0) 编辑
摘要: public void FindTextBox(Control c) { if (c.Controls != null) { foreach (Control x in c.Controls) { if (x is System.Web.UI.WebControls.TextBox) { ((System.Web.UI.WebControls.TextBox)x).Text = ""; } Fin... 阅读全文
posted @ 2010-03-01 10:57 MissSoft 阅读(160) 评论(0) 推荐(0) 编辑