摘要: Page_Load不要忘了if (!IsPostBack) 问题:在DropDownList的SelectedIndexChanged事件中绑定数据,运行时,DropDownList控件的SelectedIndexChanged事件失效。Details:改变DropDownList的选项后,页面自动... 阅读全文
posted @ 2014-07-20 20:51 disneyland 阅读(275) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;namespace connect{class Program{static void Main(string[] args){//建立... 阅读全文
posted @ 2014-07-20 15:25 disneyland 阅读(637) 评论(0) 推荐(0) 编辑
摘要: Asp.net提供了三个功能强大的列表控件:GridView、DataList和Repeater控件,相对GridView,DataList和Repeater控件具有更高的样式自定义性,很多时候我们喜欢使用DataList或Repeater控件来显示数据,但是Repeater和DataList没有分... 阅读全文
posted @ 2014-07-20 14:28 disneyland 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ASP.NET(C#) Repeater分页的实现第一种方式:数据库连接代码:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using Syst... 阅读全文
posted @ 2014-07-20 14:22 disneyland 阅读(250) 评论(0) 推荐(0) 编辑
摘要: ASP.NET的六大对象,本质上只是 Context 里面的属性,严格上不是对象。1.Request-->读取客户端在Web请求期间发送的值2.Response-->封装了页面执行期后返回到Http客户端的输出3.Server-->提供对服务器上的属性和方法的访问4.Application-->作用... 阅读全文
posted @ 2014-07-20 11:49 disneyland 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 文档对象模型(Document Object Model,DOM)是一种用于HTML和XML文档的编程接口。它给文档提供了一种结构化的表示方法,可以改变文档的内容和呈现方式。我们最为关心的是,DOM把网页和脚本以及其他的编程语言联系了起来。脚本开发人员可以通过文档对象的属性、方法和事件来掌控、操纵和... 阅读全文
posted @ 2014-07-20 10:26 disneyland 阅读(230) 评论(0) 推荐(0) 编辑