上一页 1 ··· 10 11 12 13 14
摘要: 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 阅读(635) 评论(0) 推荐(0) 编辑
摘要: Asp.net提供了三个功能强大的列表控件:GridView、DataList和Repeater控件,相对GridView,DataList和Repeater控件具有更高的样式自定义性,很多时候我们喜欢使用DataList或Repeater控件来显示数据,但是Repeater和DataList没有分... 阅读全文
posted @ 2014-07-20 14:28 disneyland 阅读(127) 评论(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 阅读(248) 评论(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 阅读(220) 评论(0) 推荐(0) 编辑
摘要: ASP.NET中直接用C# 动态修改CSS样式wonsoft (wonsoft@163.com) 使用JavaScript控制CSS样式有点麻烦,还是觉得直接使用C#操作更方便快捷,本文通过两个Button控制TextBox1的高度和背景色,以展示通过C#控制CSS样式的方法。以下是操作的实例: ... 阅读全文
posted @ 2014-07-07 20:44 disneyland 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: -------------初级篇----------------------------------------在一般的href中路径的引用问题 ./index.aspx与index.aspx都代表当前文件夹 /index.aspx 代表从域名直接定位到这个路径 ~/index.aspx代表智能感知... 阅读全文
posted @ 2014-07-07 15:47 disneyland 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14