- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 C# Google 网络获取
using System;using System.Web;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;using Boolue.Real;namespace GoogleRefer{ public class Google { static
2008-02-09 15:39:00 647
原创 mssql表联级
create table student(id int primary key identity(1,1),name varchar(30),)create table exam(id int primary key identity(1,1),typeid int constraint mypkid foreign key (typeid) references student(id)on de
2008-02-05 15:07:00 377
原创 Mssql函数转载
数学函数 1.绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) value from dual 3.取整(小) S:select floor(-1.001) value O
2008-02-05 15:04:00 1272 2
原创 mssql之从头再来
去了baidu,每周都得到数据库以及C#这一块的专家,便自以为.....才来到csdn两天,才明白自己是多么的.....,好在我觉悟了,从头再来!if exists(select * from master..sysdatabases where name=mydb)-- if (select db_id(mydb) )is nullprint 数据库已经存在elsebegincre
2008-02-05 14:57:00 457
原创 不知道哪个给变量赋值的方法更好?
for (int i = 0; i { int GroupID = i;Response.Write(GroupID); }或者int GroupID=-1;for(int i=0;i{GroupID++;Response.Write(GroupID);}//我就是测试想测试下,你也可以说直接把i输出!嘻嘻
2008-02-04 10:50:00 365
原创 关于碰到的c#小问题的思考
今天碰到了一个问题,于是开始自己思考,这个思考是最近开始改变的,听别人一席话(我想了20年,写了20天),所以我开始想,想了好久,于是开始写,写了好久,发现思路不清晰,于是又开始想,想了一会儿,终于开始写了,写了30分钟,突然自己茅塞顿开,自己解决了,呵呵!努力学习++
2008-02-04 10:22:00 389
原创 C#编程习惯
写程序必须有良好的习惯,比如说,变量命名,然后该拆的就拆,要多用函数,层次分明!而且尽量做到代码优化,比如说 DateTime Time1 = DateTime.MaxValue;DateTime Time2 = DateTime.MaxValue ;//其实比较好的写法是 DateTime Time1 = DateTime.MaxValue; DateTime Time2 = Time1;变量类
2008-02-03 16:37:00 417
正则测试软件
2008-02-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人