蓝色1+1
别人对我们的重要, 但我们不能失去自我 更多的时候 我们要用自己的双手去拭去旅途的灰尘 用自己的问候趋散跋涉的疲顿, 用自己的心情去珍惜每一个日子, 每一个感动
摘要: //把excel 数据导入DataTable中string conStr=@" Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source = "+fileAddress+";Password=;User ID=Admin;Extended Properties=Excel 8.0" ; string cmdText="select * from [S... 阅读全文
posted @ 2005-11-16 10:51 BlueShell 阅读(2204) 评论(0) 推荐(0) 编辑
摘要: /// /// 自动产生一个编号 规则:年月日+当天的最大流水号加一数 如 20050312006 /// /// [WebMethod] public string generate_task_id(System.DateTime dataTime) { string year,month,day,number; year=dataTime.Year.ToString... 阅读全文
posted @ 2005-11-14 22:19 BlueShell 阅读(1089) 评论(2) 推荐(0) 编辑
摘要: //// /// 桁数(byte)で文字列の一部を返す /// /// 文字列 /// 桁数 /// 文字列 public static string Splite(string str, int limLength) { // 1. 文字列の桁数(BYTE単位)は引数桁数より小さい場合、リターンする。 int MaxLength = GetByteLength(str... 阅读全文
posted @ 2005-11-13 23:05 BlueShell 阅读(497) 评论(0) 推荐(0) 编辑