摘要:
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... 阅读全文
摘要:
2008年09月19日 星期五 15:58 string fileExtension = System.IO.Path.GetExtension(img_path.FileName).ToLower(); string path_to, path1_to; ... 阅读全文
摘要:
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... 阅读全文
摘要:
OracleConnection oc=new OracleConnection("data source=osserver;User Id=****;password=**"); OracleCommand cmd=new OracleCommand("insert into cym1.uploadfile (filename,filecontent) values (:filename,:fi... 阅读全文
摘要:
C#对数组中的元素进行查找,清除 -------------------------------------------------------------------------------- //在数组的使用中,小不了要对其中的元素进行查找,清除等操作,以下是一小例,写出来供大家参考参考: 程序代码 using System; using System.Collections.Generi... 阅读全文
摘要:
求最大值、索引、排序总结 -------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; namespace ljun_CSharp_Study { class... 阅读全文
摘要:
//选择排序,从小到大 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... 阅读全文