摘要: using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class xiushifu //用CLASS来创建一个类 { public int a;//访问不受限制; private int b;//私有的,只有包含此字段的类可以访问; protected int c... 阅读全文
posted @ 2008-12-16 23:47 xf雪儿 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 数据库内容是:create database shenguse shengcreate table sf(ID int primary key,sfname varchar(100) not null)create table city(cityID int primary key,proID int foreign key references sf(ID) not null,cityName ... 阅读全文
posted @ 2007-03-02 14:20 xf雪儿 阅读(273) 评论(2) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication9{ class Program { static void Main(string[] args) { //int x = 5; //int y = 3; //// & | ^ ~ ////&两个都... 阅读全文
posted @ 2008-12-29 00:10 xf雪儿 阅读(252) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace weiyunsuan{ class Program { static void Main(string[] args) { int x = 5; int y = 3; // & | ^ ~ //&两个都是一才为1 int z = x &... 阅读全文
posted @ 2008-12-27 23:59 xf雪儿 阅读(507) 评论(0) 推荐(0) 编辑
摘要: WebParts系列控件说明:WebPartManager 控件:Web Parts的总控中心,管理 Web Parts及区域的列表管理页面状态 (比如显示状态),当页面状态时发生改变时触发事件,协助Web Parts间的通讯,管理个性化等.使用后的代码如下:<asp:WebPartManager ID="WebPartManager1" RunAt="server" />&Oslas... 阅读全文
posted @ 2008-12-19 00:12 xf雪儿 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 静态构造函数具有以下特点:静态构造函数既没有访问修饰符,也没有参数。在创建第一个实例或引用任何静态成员之前,将自动调用静态构造函数来初始化类。 无法直接调用静态构造函数。在程序中,用户无法控制何时执行静态构造函数。静态构造函数的典型用途是:当类使用日志文件时,将使用这种构造函数向日志文件中写入项。静态构造函数在为非托管代码创建包装类时也很有用,此时该构造函数可以调用 LoadLibrary 方法。 阅读全文
posted @ 2008-12-19 00:10 xf雪儿 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 无标题文档 htmlcssxuexiaoyu 阅读全文
posted @ 2007-02-12 15:00 xf雪儿 阅读(552) 评论(0) 推荐(0) 编辑