• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
'原来我⒏⒋神!.
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2007年7月18日

C#基础概念二十五问[转载]
摘要: 1.静态成员和非静态成员的区别?2.const 和 static readonly 区别?3.extern 是什么意思?4.abstract 是什么意思?5.internal 修饰符起什么作用?6.sealed 修饰符是干什么的?7.override 和 overload 的区别?8.什么是索引指示... 阅读全文
posted @ 2007-07-18 17:31 威爵爷 阅读(247) 评论(0) 推荐(0)
 
必须知道的SQL语法
摘要: asc 按升序排列desc 按降序排列下列语句部分是Mssql语句,不可以在access中使用。SQL分类: DDL—数据定义语言(Create,Alter,Drop,DECLARE) DML—数据操纵语言(Select,Delete,Update,Insert) DCL—数据控制语言(GRANT,... 阅读全文
posted @ 2007-07-18 16:56 威爵爷 阅读(360) 评论(0) 推荐(0)
 
2008北京奥运会的倒计时js代码
摘要: var DateOne="";var date=new Date();var year="",month="",day="",week="";year=date.getFullYear(); month=date.getMonth()+1;if(month<10) month= "0"+month;... 阅读全文
posted @ 2007-07-18 16:52 威爵爷 阅读(472) 评论(0) 推荐(0)
 
javascript禁用、取消頁面html控件
摘要: //禁用頁面控件,还可扩展 function submitonce(theform) { if (document.all||document.getElementById) { for (i=0;i<theform.length;i++) { var tempobj=theform.e... 阅读全文
posted @ 2007-07-18 16:15 威爵爷 阅读(1092) 评论(0) 推荐(0)
 
 

2007年7月17日

递归算法
摘要: 一列数的规则如下: 1、1、2、3、5、8、13、21、34......, 求第30位数是多少, 用递归算法实现 public class MainClass { public static void Main(){ Console.WriteLine(Foo(30)); } public sta... 阅读全文
posted @ 2007-07-17 10:42 威爵爷 阅读(238) 评论(0) 推荐(0)
 
 

2007年7月16日

JS宝典
摘要: 1创建脚本块 1 2 JavaScriptcodegoeshere 3 2隐藏脚本代码 1 2 5 在不支持JavaScript的浏览器中将不执行相关代码3浏览器不支持的时候显示 1 2 Hellotothenon - JavaScriptbrows... 阅读全文
posted @ 2007-07-16 11:38 威爵爷 阅读(481) 评论(1) 推荐(0)
 
产生一个int数组,长度为100,并向其中随机插入1-100,并且不能重复(C#)
摘要: int[] intArr = new int[100]; ArrayList myList = new ArrayList(); Random rnd = new Random(); while (myList.Count < 100) { int num = rnd.Next(1, 101); ... 阅读全文
posted @ 2007-07-16 11:08 威爵爷 阅读(2517) 评论(1) 推荐(0)
 
XMLHttpRequest
摘要: XMLHttpRequest 1. XMLHttpRequest对象由浏览器提供,由微软提出,由于并非标准,创建改对象因浏览器而异。IE:new AcitveXObject(‘Microsoft. XMLHttp’) Mozilla: new XMLHttpRequest() 2. readyst... 阅读全文
posted @ 2007-07-16 09:51 威爵爷 阅读(196) 评论(0) 推荐(0)
 
 

2007年7月15日

27个Asp.Net经常会用到的函数集
摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year... 阅读全文
posted @ 2007-07-15 19:46 威爵爷 阅读(188) 评论(0) 推荐(0)
 
String和StringBuilder区别
摘要: String类对象是不可改变的(只读),对于String对象的重新赋值在本质上是重新创建了一个String对象并将新值赋予该对象,其方法ToString对性能的提高并非很显著。 因为一旦创建了该对象,就不能修改该对象的值 在处理字符串时,最好使用StringBuilder类,其.NET 命名空间是S... 阅读全文
posted @ 2007-07-15 15:10 威爵爷 阅读(602) 评论(0) 推荐(0)
 
 
下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3