自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

马辉的专栏

不要画地为牢

  • 博客(83)
  • 资源 (1)
  • 收藏
  • 关注

转载 TRULY Understanding Dynamic Controls (Part 3)

.DoNotDisplay { display: none; }Monday, October 16, 2006 9:00 PM InfinitiesLoopTRULY Understanding Dynamic Controls (Part 3) Part 1: Dynamic vs. StaticPart 2: Creating Dynamic Contro

2006-12-31 12:00:00 950

转载 TRULY Understanding Dynamic Controls (Part 2)

Wednesday, August 30, 2006 6:00 PM InfinitiesLoopTRULY Understanding Dynamic Controls (Part 2) Part 1: Dynamic vs. StaticPart 2: Creating Dynamic ControlsPart 3: Adding Dynamic Controls to the

2006-12-31 11:28:00 1092

转载 TRULY Understanding Dynamic Controls (Part 1)

Friday, August 25, 2006 9:00 AM InfinitiesLoopTRULY Understanding Dynamic Controls (Part 1) Part 1: Dynamic vs. StaticPart 2: Creating Dynamic ControlsPart 3: Adding Dynamic Controls to the Co

2006-12-31 11:27:00 944

转载 TRULY Understanding ViewState ( 转)

TRULY Understanding ViewState Thursday, August 03, 2006 12:30 AM InfinitiesLoopViewState is a very misunderstood animal. I would like to help put an end to the madness by attempting to explain e

2006-12-31 11:25:00 978

原创 config文件自定义节点

 一: 目标在app.config或者web.config中自定义节点,效果如下xml version="1.0" encoding="utf-8" ?>configuration>  configSections>    section name="DataBaseConfig" type="Configuration.Configuration.DataBaseConfigur

2006-12-29 20:39:00 1085

原创 DropDownList的一个不常见用法

常见的,我们可以用DropDownList的作为值作为一个筛选条件,以选择数据。如选择一个ID,则从数据库里读取该条记录并Render。考虑另一种情况,我们可能需要让DropDownList的Value为空,Text为所有。当选择这个Item时从数据库中将所有的记录选择出来。那么我们该怎么做呢? 首先,需要在将DropDownList作为数据源的SqlDataSource以类似于下面的

2006-12-27 14:25:00 1627

原创 DataAccess 学习

一、Render UI1 GridViewGridView 控件用来在表中显示数据源的值。每列表示一个字段,而每行表示一条记录。GridView 控件支持下面的功能: 绑定至数据源控件,如 SqlDataSource。 内置排序功能。 内置更新和删除功能。 内置

2006-12-27 13:16:00 2978

原创 Web Service 基础

 一 在Web Service中运用Session在web service中如下定义 [WebMethod(EnableSession=true)]public String UpdateSessionHitCount(){        count++;        if (Session["HitCount"] == null)    ...{            Sessio

2006-12-20 14:34:00 1790

原创 SQL Server 作业

Use Demogocreate proc proc4asdeclare @iSalary intset @iSalary = (select Sum(salary) from emp)print @iSalarygoexec proc4create proc proc5( @iSalary int output)asset @iSalary = (select Sum(salary) fro

2006-12-15 13:32:00 1314

原创 SQL Server 2005 考试(包括答案)

 /**//* Question 1 Can you use a batch SQL or store procedure to calculating the Number of Days in a Month?I am trying to find a way to calculate the total number of days in each month. I am tryin

2006-12-15 13:25:00 1702

原创 有用的SQL脚本

--判断一个表是否已经存在if exists(select * from sysobjects where name=Person and xtype=u) print Exelse print No Ex--判断指定的表是否存在,存在则删除if exists (select * from sysobjects where objectproperty(object_id(t

2006-12-15 13:21:00 820

原创 问卷调查在SQL Server2005 中的实现

Create Database MobileCalluse MobileCall--问题类别Create table QuestionTypes( QuestionTypeID int primary key identity, QuestionType  varchar(20) not null unique)--问卷类别Create table QuestionnaircTypes( Qu

2006-12-15 13:18:00 1335

原创 rpg game实现

set nocount ondrop proc lookcreate proc lookas begin  declare @nowRoomID int,@nowRoomName nvarchar(50)  select @nowRoomID=RoomID from nowRoom  select @nowRoomName=roomName from Room where RoomID=@no

2006-12-15 13:16:00 920

原创 T9输入法在SQL Server2005 中的实现

Create table NumberToChar ----------用来保存数字和字母之间映射的表(    number  int,    GetText varchar(10))--字典表select * from Dictionary--联系人表select * from Contact--创建键盘表-------------------------------------

2006-12-15 13:14:00 1332

原创 逆规范化数据列表

declare @col varchar(5000)set @col=;select @col=@col+ convert(varchar(15),a.d,107)+,  from(select name as d from  syscolumns where id=object_id(listdata)and name not in(listid)) as aprint le

2006-12-15 13:04:00 951

原创 分页的sql代码

推荐使用select UserName from( select UserName, ROW_NUMBER() OVER (order by UserName) as Pos from UserInfo) as Twhere T.Pos > 1 and T.Pos  5其他实现取第11—20条记录select top 10 * from users where username not in(

2006-12-15 13:03:00 704

原创 XSQL学习地址

http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_ref_xsql.htm 

2006-12-15 13:00:00 689

原创 设置401并取得用户名密码(base64解密)

public class Base64 ...{   public static String decode(String encoded)     ...{         StringBuffer sb=new StringBuffer();         int maxturns;         //work out how long to loop for.         if(

2006-12-15 12:59:00 1368

原创 JSLT自定义标签

http://java.sun.com/developer/technicalArticles/xml/WebAppDev3/index.html1  tld文件的写法xml version="1.0" encoding="ISO-8859-1" ?>DOCTYPE taglib PUBLIC "-//Sun Microsystems,Inc.//DTD JSP Tag Library

2006-12-15 12:57:00 900

原创 正则表达式验证日期和Email

验证日期(包括验证闰月)^((/d{2}(([02468][048])|([13579][26]))[/-///s]?((((0?[13578])|(1[02]))[/-///s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[/-///s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[/-///s]?((0

2006-12-14 19:58:00 1657 1

原创 .net 接口示例

 class Program    ...{        static void Main(string[] args)        ...{            Rectangle rect = new Rectangle(20, 15);            Console.WriteLine("Area is {0}", rect.Area());            Co

2006-12-14 19:57:00 1060

原创 DHTML+JAVAScript学习资源

 http://www.cnblogs.com/birdshome/archive/2006/10/17/dhtml_jscript.html

2006-12-14 19:55:00 936

原创 HTML页面输入验证

Function.registerNamespace("net.bingosoft.web");net.bingosoft.web.Validators = function(containers)...{ var _containers = containers ? containers : document.body; var _self = this; var _errmsg = "";

2006-12-14 19:53:00 1979

原创 XMLHTTPRequest 的封装--Sender

Function.registerNamespace("net.bingosoft.web");net.bingosoft.web.Sender = function()...{ net.bingosoft.web.Sender.initializeBase(this); this.makeXMLHTTP = function() ...{   var xmlhttp = null;  if(

2006-12-14 19:51:00 990

原创 XMLHTTPRequest 的封装--Binder

Function.registerNamespace("net.bingosoft.web");net.bingosoft.web.Binder = function() ...{ net.bingosoft.web.Binder.initializeBase(this);  var _container = []; var _self = this;  var _root, _xpath, 

2006-12-14 19:50:00 910

原创 XMLHTTPRequest 的封装--Render

Function.registerNamespace("net.bingosoft.web");net.bingosoft.web.Render = function()...{ net.bingosoft.web.Render.initializeBase(this);  var _xmlUrl   = null; var _xslUrl   = null; var _callbackMet

2006-12-14 19:49:00 895

原创 在XSL文件里应用javascript

第一:应用函数 xml version="1.0" encoding="utf-8"?>xsl:stylesheet version="1.0"    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="http://mycom

2006-12-14 19:48:00 1299

原创 XPATH笔记

 /表示一层层/*/表示隔一层//表示隔任意层【nodename】表示包含nodename的节点【nodename=value】表示包含nodename=value的节点[@Attr]表示包含Attr的节点【@Attr=value】表示包含Attr=value的节点最后一个/下的节点(或者属性)名称表示选取的节点(或者属性).=value表示当前的节点 

2006-12-14 19:46:00 785

原创 面向对象的思想的javaScrip使用 总结

1如果在function定义的类里面使用var variable定义,即为私有变量,用this.variable表示是公有变量,前面没有任何修饰,直接用variable=value 定义,表示为全局变量如果定义方法,前面加this.functionname表示是公共方法,不加this表示是私有方法 2function定义的“东西”,当你认为它是类的时候它就是类,你认为它是方法的

2006-12-14 19:35:00 827

原创 atals控制页面

script type="text/javascript">                           // The script is placed at the end here so that the elements will                // be located                var g_panel;                var

2006-12-14 19:34:00 830

原创 Atlas使用接口

 DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">html> head>  title>interface.htmltitle>  meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  meta http-equiv="descriptio

2006-12-14 19:33:00 1570

原创 javaScrip的继承与接口

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">html xmlns="http://www.w3.org/1999/xhtml" >head>    title>inherit继承title>    sc

2006-12-14 19:31:00 751

原创 应用atlas实现名字空间和继承

 script type="text/javascript" src="Atlas.js">script>head>   script type="text/javascript">   //使用名字空间 Type.registerNamespace("Demo");    Demo.Person=function(first,last)    ...{        var _first

2006-12-14 19:31:00 1504

原创 atlas学习地址,官方英文

http://atlas.asp.net/docs/atlas/doc/controls/default.aspx#intro另外:http://www.asp.net/是官方asp.net2.0的首页 http://lovewangshu.cnblogs.com/archive/2006/04/21/381632.html http://www.cnblogs.com/T

2006-12-14 19:29:00 786

原创 javaScrip的模拟继承

var A=function()    ...{        this.f1=function()...{return 1;};        this.f5=new Function("return 5");    };让B从A继承:var a = new A(); var B=function()...{}B.prototype=a;B.prototype.f10=function(

2006-12-14 19:28:00 755

原创 在javaScrip中定义一个方法

 用方法,表示该方法调用会出错1 : classname.prototype.method 只能在该类的实例中访问,而不能在类中访问2 :Object是Function的实例3: javascrip中静态方法不能被实例调用,这是和java的很大区别4:A可以取得Function.protoype的方法或者属性因为它是Function的实例。同时他可以取得Object.prototype的内

2006-12-14 19:27:00 789

原创 模拟注册名字空间(最初的实现)

html xmlns="http://www.w3.org/1999/xhtml" >head>    title>Untitled Pagetitle>    script language=javascript type="text/javascript">...    function a()    ...{         Object.prototype.haha="mahuia";

2006-12-14 19:01:00 732

原创 Iframe以及Frame

Frame:DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">html xmlns="http://www.w3.org/1999/xhtml" >head>    title>2.3 Frametitle>

2006-12-14 19:00:00 978

原创 select 上移下移删除以及模态对话框

 html xmlns="http://www.w3.org/1999/xhtml" >head>    title>4.1对话框title>script language="javascript" type="text/javascript">...// function Button3_onclick() ...{//下移Select1.options.insertBefore(Sel

2006-12-14 18:59:00 1430

原创 遍历

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">html xmlns="http://www.w3.org/1999/xhtml" >head>    title>4.2 遍历title>    style

2006-12-14 18:58:00 861

(2007 Wrox)Professional ASP.NET 2.0 Databases.pdf

(2007 Wrox)Professional ASP.NET 2.0 Databases.pdf

2008-09-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除