尋尋覓覓

共同奉獻

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2008年10月7日

摘要: Data Access Application Block for .NET 发布日期: 6/18/2004 | 更新日期: 6/18/2004 Chris Brooks、Graeme Malcolm、Alex Mackman、Edward Jezierski、Jason Hogg、Diego Gonzalez (Lagash)、Pablo Cibraro (Lagash) 和 Julian C... 阅读全文
posted @ 2008-10-07 22:39 ★海戰鷹 阅读(442) 评论(0) 推荐(0) 编辑

摘要: 2008年09月19日 星期五 15:58 string fileExtension = System.IO.Path.GetExtension(img_path.FileName).ToLower(); string path_to, path1_to; ... 阅读全文
posted @ 2008-10-07 22:18 ★海戰鷹 阅读(596) 评论(0) 推荐(0) 编辑

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 in... 阅读全文
posted @ 2008-10-07 22:16 ★海戰鷹 阅读(186) 评论(0) 推荐(0) 编辑

摘要: OracleConnection oc=new OracleConnection("data source=osserver;User Id=****;password=**"); OracleCommand cmd=new OracleCommand("insert into cym1.uploadfile (filename,filecontent) values (:filename,:fi... 阅读全文
posted @ 2008-10-07 13:10 ★海戰鷹 阅读(496) 评论(0) 推荐(0) 编辑

摘要: C#对数组中的元素进行查找,清除 -------------------------------------------------------------------------------- //在数组的使用中,小不了要对其中的元素进行查找,清除等操作,以下是一小例,写出来供大家参考参考: 程序代码 using System; using System.Collections.Generi... 阅读全文
posted @ 2008-10-07 09:10 ★海戰鷹 阅读(1854) 评论(0) 推荐(0) 编辑

摘要: 求最大值、索引、排序总结 -------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; namespace ljun_CSharp_Study { class... 阅读全文
posted @ 2008-10-07 09:08 ★海戰鷹 阅读(307) 评论(0) 推荐(0) 编辑

摘要: //选择排序,从小到大 public static int SelectSort(int[] a) { int count=0;// 计算时间复杂度,运行的次数 int length = a.Length; int k= 0; int chan;//用来交换的中间变量 for(int i=0;iarray[j+1]) //当相连的两个数的满足前者大于后者时交换数值 { p=1; chan = a... 阅读全文
posted @ 2008-10-07 09:03 ★海戰鷹 阅读(293) 评论(0) 推荐(0) 编辑