2009年11月20日
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Data.OleDb;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { /* ... 阅读全文
posted @ 2009-11-20 21:36 记住昨天,迎接明天 阅读(171) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.SqlClient;namespace 存储过程... 阅读全文
posted @ 2009-11-20 21:31 记住昨天,迎接明天 阅读(115) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace 数组{ class Program { static void Main(string[] args) { int[] arr = new int[] { 1,1,1,3,9, 2, 3, 9, 9, 87 }; foreach (int a in a... 阅读全文
posted @ 2009-11-20 21:30 记住昨天,迎接明天 阅读(98) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;namespace 值和引用{ class Program { public void swap(ref int x,ref int y) { int wy = x; x = y; y = wy; } static void Main(string[] args) { i... 阅读全文
posted @ 2009-11-20 21:28 记住昨天,迎接明天 阅读(111) 评论(0) 推荐(0) 编辑
  2009年11月17日
摘要: /// <summary> /// 计算两个日期的时间间隔 /// </summary> /// <param name="DateTime1">第一个日期和时间</param> /// <param name="DateTime2">第二个日期和时间</param> /// <returns></retur... 阅读全文
posted @ 2009-11-17 13:50 记住昨天,迎接明天 阅读(269) 评论(0) 推荐(0) 编辑
摘要: C#日期函数使用大全DateTime dt = DateTime.Now;dt.ToString();//2005-11-5 13:21:25dt.ToFileTime().ToString();//127756416859912816dt.ToFileTimeUtc().ToString();//127756704859912816dt.ToLocalTime().ToString();//20... 阅读全文
posted @ 2009-11-17 13:42 记住昨天,迎接明天 阅读(182) 评论(0) 推荐(0) 编辑
  2009年6月14日
摘要: 以前没有系统的学习数据库,但最近来,我一直都在看数据库教程,感觉进步了许多。 阅读全文
posted @ 2009-06-14 17:25 记住昨天,迎接明天 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 自从开了自己的小店以来,每天都有大大小小的事,也很少来这儿了,但我对编程的热爱是没有放弃的,只要有时间我就会做一些有意义的程序,或看看新的技术等。 阅读全文
posted @ 2009-06-14 17:24 记住昨天,迎接明天 阅读(116) 评论(0) 推荐(0) 编辑