posts - 120, comments - 55, trackbacks - 0, articles - 8
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

ASP.NET 学习笔记

posted @ 2008-02-26 17:15 孤峰皓月 阅读(488) | 评论 (0) 编辑 |

posted @ 2008-02-26 11:13 孤峰皓月 阅读(464) | 评论 (0) 编辑 |

posted @ 2008-02-22 09:33 孤峰皓月 阅读(2840) | 评论 (3) 编辑 |

posted @ 2008-02-19 15:16 孤峰皓月 阅读(1010) | 评论 (0) 编辑 |

posted @ 2008-02-19 15:08 孤峰皓月 阅读(790) | 评论 (1) 编辑 |

posted @ 2008-01-31 16:10 孤峰皓月 阅读(78) | 评论 (0) 编辑 |

摘要: dt.AcceptChanges()阅读全文

posted @ 2008-01-29 11:14 孤峰皓月 阅读(493) | 评论 (0) 编辑 |

摘要: VS2005下BoundField的DataFormatString不起作用了? 阅读全文

posted @ 2008-01-08 15:45 孤峰皓月 阅读(343) | 评论 (0) 编辑 |

摘要: 改变控件在网页中的显示位置阅读全文

posted @ 2008-01-02 17:36 孤峰皓月 阅读(573) | 评论 (0) 编辑 |

摘要: UrlRewrite阅读全文

posted @ 2007-12-28 10:15 孤峰皓月 阅读(92) | 评论 (1) 编辑 |

摘要: C#操作XML文件方法阅读全文

posted @ 2007-12-14 19:40 孤峰皓月 阅读(418) | 评论 (0) 编辑 |

摘要: 如何用VS2005制作Web安装程序阅读全文

posted @ 2007-12-12 15:51 孤峰皓月 阅读(330) | 评论 (1) 编辑 |

摘要: 用VS2005制作网页对IIS进行操作 阅读全文

posted @ 2007-12-12 15:49 孤峰皓月 阅读(385) | 评论 (0) 编辑 |

摘要: asp.net 使用XMLHttp在页面间传送参数阅读全文

posted @ 2007-12-08 11:01 孤峰皓月 阅读(153) | 评论 (0) 编辑 |

摘要: asp.net 使用XMLHttp在页面间传送参数阅读全文

posted @ 2007-12-08 11:01 孤峰皓月 阅读(181) | 评论 (0) 编辑 |

摘要: ajax 调用 webService阅读全文

posted @ 2007-12-04 09:47 孤峰皓月 阅读(794) | 评论 (0) 编辑 |

摘要: ajax.pro2的简单例子阅读全文

posted @ 2007-12-03 15:20 孤峰皓月 阅读(262) | 评论 (0) 编辑 |

摘要: Multiview和View控件 使用事例阅读全文

posted @ 2007-10-16 11:15 孤峰皓月 阅读(1434) | 评论 (0) 编辑 |

posted @ 2007-09-17 08:33 孤峰皓月 阅读(315) | 评论 (0) 编辑 |

摘要: SOCKET阅读全文

posted @ 2007-09-16 23:54 孤峰皓月 阅读(706) | 评论 (0) 编辑 |

摘要: C# 文件操作阅读全文

posted @ 2007-09-16 15:06 孤峰皓月 阅读(310) | 评论 (0) 编辑 |

摘要: C#Windows 服务制作安装删除. 用户注销后,程序继续运行阅读全文

posted @ 2007-09-11 16:29 孤峰皓月 阅读(1126) | 评论 (3) 编辑 |

摘要: 最基本的Socket编程 C#版 [转] 阅读全文

posted @ 2007-09-04 23:43 孤峰皓月 阅读(317) | 评论 (0) 编辑 |

摘要: SQL Server CHARINDEX和PATINDEX详解 阅读全文

posted @ 2007-08-29 10:08 孤峰皓月 阅读(94) | 评论 (0) 编辑 |

posted @ 2007-08-24 10:27 孤峰皓月 阅读(4547) | 评论 (0) 编辑 |

摘要: Void(0)导致页面不转向阅读全文

posted @ 2007-07-11 16:22 孤峰皓月 阅读(463) | 评论 (0) 编辑 |

摘要: MD5加密阅读全文

posted @ 2007-07-11 10:34 孤峰皓月 阅读(863) | 评论 (3) 编辑 |

posted @ 2007-07-06 10:51 孤峰皓月 阅读(286) | 评论 (0) 编辑 |

摘要: 1.1 项目升级到 2.0阅读全文

posted @ 2007-04-29 10:38 孤峰皓月 阅读(259) | 评论 (0) 编辑 |

posted @ 2007-04-23 23:16 孤峰皓月 阅读(156) | 评论 (0) 编辑 |

摘要: 使用StringBuilder, StringBuilder和String的区别阅读全文

posted @ 2007-03-14 13:45 孤峰皓月 阅读(18333) | 评论 (10) 编辑 |

posted @ 2007-02-26 14:37 孤峰皓月 阅读(511) | 评论 (0) 编辑 |

摘要: Ajax简单客户登陆验证阅读全文

posted @ 2007-02-10 11:00 孤峰皓月 阅读(436) | 评论 (0) 编辑 |

摘要: ASP.NET 常用代码阅读全文

posted @ 2007-02-06 11:16 孤峰皓月 阅读(296) | 评论 (0) 编辑 |

摘要: 示例是用JAVA或C++写的阅读全文

posted @ 2006-12-19 15:52 孤峰皓月 阅读(194) | 评论 (1) 编辑 |

摘要: 分层在英文里面有Tier和Layer两方面的含义。Tier主要是只硬件上的分层,如客户端,应用服务器和数据库服务器。而Layer主要是指软件系统结构下的分层。而这里谈的主要还是软件体系结构上的分层。阅读全文

posted @ 2006-11-28 12:33 孤峰皓月 阅读(170) | 评论 (0) 编辑 |

摘要: MasterPage 的几个知识点:
1. 在母版页中的 ContentPlaceHolder ,相应的内容页显示为:Content
2. 母版页与内容页的数据通信:每一个控件都得找,
例如:((Label)Master.FindControl("label1")).Text ="MasterPage级别的:"+ DropDownList1.SelectedValue;
前面的label1是 母版页中的, 后面的 DropDownList1 是在内容页中,这句代码是写在 内容页的 cs 文件中.
3. 如果要改变 母版, 则应该在 内容页与母版页合并之前,改变母版页文件.方法如下
MasterPageFile="~/TestMasterPage.master"
过程是这样的:内容页根据页头的 MasterPageFile="~/TestMasterPage.master" 找到母版页后,再合并后在前台显示出来
private void Page_PreInit(object sender,Ev阅读全文

posted @ 2006-11-22 22:57 孤峰皓月 阅读(445) | 评论 (0) 编辑 |

摘要: 特点: 一次只显示一条,而且分页也是跳到下一条数据.显示数据的格式与GridView 差不多,表格显示,很规范,很难任意布局
FormView 与 DataList 差不多,可以任意布局, 可以说随心所欲吧.^_^

DetailsView 主要是显示某一条记录的时候,显示详细数据.
下面有几个它的知识点:
1: 它的分页, 其实不是一页内多条记录的分页,而是一页内显示的就一条记录的相关字段,
确切的说是指 由同一个查询条件所得的 一些记录,比如:这里的查询条件是: state ,要将
GridView 的 DataKeyNames 设置为state, 这里它的默认值为: au_id

2: 在一列中按照需要组合显示多个数据字段

实现方法是: 先转换为模板列,数据模板中添加一个Label,再绑定数据,编辑模板中也要添加一个TextBox,然 后绑定数据,不用写处理代码,它自动可以更新的.
阅读全文

posted @ 2006-11-21 20:41 孤峰皓月 阅读(2517) | 评论 (0) 编辑 |

摘要: 知识点:
1: 手工绑定GridView, 不用SqlDataSource
2: 在前台显示HTML 代码(可以将数据绑定到 literal,然后设置 mode=code)
3: 用DropDownList 作查询条件,在 GridView 上显示.
4: 镶嵌GridView.
5: 一次更新多条记录
阅读全文

posted @ 2006-11-21 01:29 孤峰皓月 阅读(995) | 评论 (1) 编辑 |

摘要: 这里有许多用法,不一一列出,在前后台文件中,自己看!!阅读全文

posted @ 2006-11-19 23:50 孤峰皓月 阅读(597) | 评论 (1) 编辑 |

posted @ 2006-11-14 13:32 孤峰皓月 阅读(337) | 评论 (0) 编辑 |

posted @ 2006-11-08 16:32 孤峰皓月 阅读(646) | 评论 (0) 编辑 |

posted @ 2006-11-08 16:13 孤峰皓月 阅读(553) | 评论 (0) 编辑 |

posted @ 2006-11-03 20:17 孤峰皓月 阅读(109) | 评论 (0) 编辑 |

posted @ 2006-11-03 20:00 孤峰皓月 阅读(2096) | 评论 (0) 编辑 |

posted @ 2006-11-02 22:36 孤峰皓月 阅读(807) | 评论 (2) 编辑 |

posted @ 2006-10-27 00:06 孤峰皓月 阅读(437) | 评论 (0) 编辑 |

posted @ 2006-10-25 00:43 孤峰皓月 阅读(439) | 评论 (0) 编辑 |

posted @ 2006-10-25 00:40 孤峰皓月 阅读(1004) | 评论 (1) 编辑 |

posted @ 2006-10-25 00:33 孤峰皓月 阅读(541) | 评论 (0) 编辑 |

posted @ 2006-10-24 00:32 孤峰皓月 阅读(74) | 评论 (0) 编辑 |

posted @ 2006-10-23 16:39 孤峰皓月 阅读(1863) | 评论 (0) 编辑 |

posted @ 2006-10-23 15:21 孤峰皓月 阅读(739) | 评论 (2) 编辑 |

posted @ 2006-10-23 01:05 孤峰皓月 阅读(68) | 评论 (0) 编辑 |

posted @ 2006-10-22 22:48 孤峰皓月 阅读(1434) | 评论 (0) 编辑 |

posted @ 2006-10-21 16:56 孤峰皓月 阅读(17) | 评论 (0) 编辑 |

posted @ 2006-10-21 16:51 孤峰皓月 阅读(740) | 评论 (0) 编辑 |

posted @ 2006-10-21 16:40 孤峰皓月 阅读(559) | 评论 (0) 编辑 |

posted @ 2006-10-20 16:32 孤峰皓月 阅读(41) | 评论 (0) 编辑 |

posted @ 2006-10-19 21:14 孤峰皓月 阅读(128) | 评论 (0) 编辑 |

posted @ 2006-10-19 20:59 孤峰皓月 阅读(49) | 评论 (0) 编辑 |

posted @ 2006-10-19 20:53 孤峰皓月 阅读(71) | 评论 (0) 编辑 |

posted @ 2006-10-18 23:32 孤峰皓月 阅读(251) | 评论 (3) 编辑 |

posted @ 2006-10-16 00:46 孤峰皓月 阅读(493) | 评论 (0) 编辑 |

posted @ 2006-10-15 21:00 孤峰皓月 阅读(2804) | 评论 (0) 编辑 |

posted @ 2006-10-14 12:18 孤峰皓月 阅读(372) | 评论 (0) 编辑 |

posted @ 2006-10-10 08:14 孤峰皓月 阅读(1812) | 评论 (0) 编辑 |

posted @ 2006-10-06 20:52 孤峰皓月 阅读(353) | 评论 (0) 编辑 |

posted @ 2006-10-06 16:01 孤峰皓月 阅读(1116) | 评论 (1) 编辑 |

posted @ 2006-10-06 13:52 孤峰皓月 阅读(1311) | 评论 (1) 编辑 |

posted @ 2006-10-06 13:06 孤峰皓月 阅读(573) | 评论 (1) 编辑 |

posted @ 2006-10-06 11:16 孤峰皓月 阅读(812) | 评论 (2) 编辑 |

posted @ 2006-10-06 10:37 孤峰皓月 阅读(22) | 评论 (0) 编辑 |

posted @ 2006-10-06 08:14 孤峰皓月 阅读(71) | 评论 (0) 编辑 |

posted @ 2006-10-06 08:05 孤峰皓月 阅读(81) | 评论 (0) 编辑 |

posted @ 2006-10-06 07:33 孤峰皓月 阅读(1032) | 评论 (0) 编辑 |

posted @ 2006-10-06 07:25 孤峰皓月 阅读(189) | 评论 (0) 编辑 |