Loading

07 2008 档案

摘要:发布日期 : 8/17/2004 | 更新日期 : 8/17/2004 速成课程 Steven A. Smith 适用范围: Microsoft® .NET Framework Microsoft® ASP.NET 正则表达式 API 摘要:正则表达式是一种处理文本的有用工具。无论是验证用户输入、搜索字符串内的模式、还是以各种有效方式重新设置文本格式,正则表达式都非常有用。 下载本文的源... 阅读全文
posted @ 2008-07-31 20:43 .net's 阅读(507) 评论(0) 推荐(0)
摘要:将值绑定到dropdownlist中后, this.DropDownList1.DataSource = getData(sql1); this.DropDownList1.DataTextField = "categoryname"; this.DropDownList1.DataValueField = "categoryid"; this.DropDownList1.DataBind(); ... 阅读全文
posted @ 2008-07-15 19:55 .net's 阅读(3042) 评论(0) 推荐(1)
摘要:class Person { public string Name { get; set; } } class Pet { public string Name { get; set; } public Person Owner { get; set; } } public static void JoinEx1() { Person magnus = new ... 阅读全文
posted @ 2008-07-05 23:59 .net's 阅读(658) 评论(0) 推荐(0)
摘要:asp.net2.0中gridView的删除确认问题 用惯了datagrid,第一次用gridView,倒有点不习惯.写删除确认时还有点不习惯,经过一番折磨,gridView的删除确认可以这样写: ... 阅读全文
posted @ 2008-07-01 21:56 .net's 阅读(459) 评论(0) 推荐(0)
摘要:1. 打开新的窗口并传送参数: //传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>"= //接收参数: string a = Request.QueryString("id"); string b = Request.... 阅读全文
posted @ 2008-07-01 21:43 .net's 阅读(395) 评论(0) 推荐(0)