天道酬勤,厚德载物

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

09 2006 档案

摘要:~/index_logo.gif http://www.sohu.com sohu Computers 80 ~/sina_logo2.gif http://www.sina.com sina Computers 80 ... 阅读全文
posted @ 2006-09-17 15:04 cobbles 阅读(287) 评论(0) 推荐(0)

摘要:earn asp.net||--- Absolute Beginner's Guide Video Series (绝对新手系列指导视频) |--- Lesson 1: Getting Started with Visual Web Developer Express |--- Lesson 2: Creating a Web Forms User Interface |--- ... 阅读全文
posted @ 2006-09-08 23:12 cobbles 阅读(507) 评论(0) 推荐(0)

摘要:初学MemberShip,遇到一个Membership设置的问题 因为一般教程使用的示例都是SQL Server 2005 Express版本的本地 ASPNETDB.MDF文件,如果我要使用远程的Sql Server 2005服务器的话,需要进行一些设置。 Setp1:当你使用Membership, 我们可以发现ASP.NET 2.0 已经在 SQL Server 2005 Express建立了... 阅读全文
posted @ 2006-09-08 23:10 cobbles 阅读(259) 评论(1) 推荐(0)

摘要:摘要:asp.net 2.0的Membership组件提供了一组非常简单易用的接口供开发者进行用户管理,用户验证。本文将它对它的实现原理进行简单的分析,介绍如何正确的使用,以及如何对它进扩展。 一、MembershipProvider抽象类 在很多情况下,在使用Membership的时候我们并不会直接使用到这个类。在MembershipProvider类定义的都是一些抽象方法和抽象属性,就是这些方... 阅读全文
posted @ 2006-09-08 21:42 cobbles 阅读(262) 评论(0) 推荐(0)

摘要:在.NET 2.0中,引入了Provider模式后,大大了提高了框架本身的可扩展性。以Membership,Roles,Profile组成的用户管理组件(包括页面个性化信息)就是以这种模式为核心构建起来的,在asp.net 2.0中,利用系统提供的API可以很容易的实现用户管理,角色管理,用户个性化信息的管理。 用户管理的三个组件是相互关联的,而且在数据设计上也是做了非常严格的数据约束。一个数据库... 阅读全文
posted @ 2006-09-08 21:15 cobbles 阅读(341) 评论(0) 推荐(0)

摘要:http://www.microsoft.com/china/msdn/library/webservices/asp.net/IntroTimeTrack.mspx?mfr=true 阅读全文
posted @ 2006-09-08 20:13 cobbles 阅读(168) 评论(0) 推荐(0)

摘要:在我的随笔《Page,你是怎样处理回发事件的?》中曾提出一个疑问,如何得到引起页面PostBack的控件?通过阅读Page类的源码,误打误撞,无意中看到了__EVENTTARGET和__EVENTARGUMENT这两个常量的定义,并通过调试分析页面,知道了通过Request.Form[“__EVENTTARGET”]可以获取到触发页面PostBack的事件源(控件的ID)。对于一般的控件,这... 阅读全文
posted @ 2006-09-08 20:12 cobbles 阅读(217) 评论(0) 推荐(0)

摘要:刚刚看到一篇关于在.NET 中发送Email的文章《从asp.net页面发送电子邮件》看到使用的还是System.Web.Mail命名空间下的类。我们都知道,在.NET 1.1下大部分都是使用这个命名空间下的类来发送邮件的,使用SmtpMail的Send静态方法可以很简单的发送Email,但由于这个类调用的是Windows2000版本以上的操作系统的CDO组件来发送邮件,不管是什么错误都会提示是C... 阅读全文
posted @ 2006-09-08 20:09 cobbles 阅读(194) 评论(0) 推荐(0)

摘要:A business web application for keeping track of hours spent on a project with the ability to handle multiple resources as well as multiple projects. Download the Time Tracker Web Site Starter Kit ... 阅读全文
posted @ 2006-09-08 19:58 cobbles 阅读(193) 评论(0) 推荐(0)

摘要:Member_Register.aspx New Member Registration Lorem ipsum dolor sit amet, consectetuer... 阅读全文
posted @ 2006-09-07 23:01 cobbles 阅读(454) 评论(2) 推荐(0)

摘要:1.MemberCountByLetter ALTER PROCEDURE MemberCountByLetterAS DECLARE @letter char(1), @index int, @max int CREATE TABLE #results ( letter CHAR(1), num INT) SET @index=ASCII('A') SET @max=AS... 阅读全文
posted @ 2006-09-07 22:56 cobbles 阅读(210) 评论(0) 推荐(0)

摘要:SharedRoutines.cs using System;using System.Data;using System.Text;using System.Web;public static class SharedRoutines{ const int TRUNCATE_COUNT = 50; public static string truncate(string origin... 阅读全文
posted @ 2006-09-07 22:54 cobbles 阅读(218) 评论(0) 推荐(0)

摘要:1.自定义分页 PageNumberer.cs using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.Web... 阅读全文
posted @ 2006-09-07 22:51 cobbles 阅读(289) 评论(0) 推荐(0)

摘要:Events_Calendar.aspx Events Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod t... 阅读全文
posted @ 2006-09-07 22:45 cobbles 阅读(378) 评论(0) 推荐(0)

摘要:A starting point for creating a web site for your club or organization. Includes a news posting, calendaring, member directory, and photo album systems. Create news announcements and news articles wit... 阅读全文
posted @ 2006-09-07 22:22 cobbles 阅读(381) 评论(0) 推荐(0)

摘要:是在程序执行时调用,是在数据绑定时被调用其中是单方向的资料连接 双方向的资料连接 阅读全文
posted @ 2006-09-07 18:18 cobbles 阅读(408) 评论(0) 推荐(1)

摘要:这个还没理解的,只找到相关的处理方法,但不知道为什么这么处理。写在Global.asax里面的。具体方法是下面的AppendQueryString委托方法。 阅读全文
posted @ 2006-09-06 22:27 cobbles 阅读(149) 评论(0) 推荐(0)

摘要:1.数据库设计字段 类型PhotoID intAlbumID intCaption nvarchar(50)BytesOriginal imageBytesFull imageBytesPoster imageBytesThumb image2.前台显示图片 &Size=M" clas... 阅读全文
posted @ 2006-09-06 22:19 cobbles 阅读(245) 评论(0) 推荐(0)

摘要:1.数据绑定语法:2.自定义分页 3.事件绑定: 绑定数据源即可。里面的Method对应业务层对象的方法。 设计步骤如下: 阅读全文
posted @ 2006-09-06 22:05 cobbles 阅读(335) 评论(0) 推荐(0)

摘要:A typical personal site that includes a photo album system. Also included are static pages for a resume and links. Comes in your choice of white or black... just change the theme! Download the Persona... 阅读全文
posted @ 2006-09-06 21:50 cobbles 阅读(214) 评论(0) 推荐(0)

摘要:If paging is enabled, r.a.d.grid will render pager item(s) (GridPagerItem) on the top and/or bottom of each GridTableView displayed in the hierarchy. Pager Appearance The appearance of the pager item ... 阅读全文
posted @ 2006-09-06 17:55 cobbles 阅读(288) 评论(0) 推荐(0)

摘要:Building a Quiz Engine 1 In this lesson, you will begin to see the creation of the Quiz En... 阅读全文
posted @ 2006-09-05 21:25 cobbles 阅读(157) 评论(0) 推荐(0)

摘要:In this lesson, you will see what is required to make your ASP.NET applications available to everyone. This includes configuring, building, and dep... 阅读全文
posted @ 2006-09-05 21:22 cobbles 阅读(126) 评论(0) 推荐(0)

摘要:In this lesson, you will explore the new membership capabilities of ASP.NET 2.0. In addition, you will learn about role-based security, and how you... 阅读全文
posted @ 2006-09-05 21:19 cobbles 阅读(142) 评论(0) 推荐(0)