2015年5月29日
摘要: unit Base64Unit;unit Base64Unit;//Download by http://www.codefans.netinterfaceuses Classes, SysUtils; function Base64Encryption(const Input:String):... 阅读全文
posted @ 2015-05-29 00:36 雪夜 阅读(252) 评论(0) 推荐(0) 编辑
  2015年5月28日
摘要: Delphi 读取 c# webservice XML的base64编码图片字符串转化图片并显示在 开发中遇到应用c#及asp.net的在的webservice 保存图片并以xml文件形式现实出来 并用delphi调用的方法:1.c#的webservice现实见 http://www.greenso... 阅读全文
posted @ 2015-05-28 23:35 雪夜 阅读(2120) 评论(0) 推荐(0) 编辑
摘要: 一、使用 1) Copy the NativeXml files from the NativeXml directory into your project folder. Copy additional files in the General directory to your project... 阅读全文
posted @ 2015-05-28 12:07 雪夜 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Delphi操作XMl,只要使用 NativeXml。我是用的版本是4.02。NativeXML的使用方法比较简单,但是功能很强大。XE2的话,要在simdesign.inc后面加上: // Delphi XE2 / 16 {$ifdef VER230}... 阅读全文
posted @ 2015-05-28 00:41 雪夜 阅读(6076) 评论(0) 推荐(0) 编辑
  2015年5月27日
摘要: .NET 框架 Microsoft .NET Framework (更新至.NET Framework4.8) https://dotnet.microsoft.com/download/dotnet-framework 产品名称 离线安装包 .NET Framework 4.8 点击下载 .NET 阅读全文
posted @ 2015-05-27 13:38 雪夜 阅读(599) 评论(0) 推荐(0) 编辑
  2015年5月26日
摘要: private void button1_Click(object sender, EventArgs e) { //Sqlite使用事务批量操作 极大的提高速度 DateTime starttime = DateTime.N... 阅读全文
posted @ 2015-05-26 22:38 雪夜 阅读(4472) 评论(0) 推荐(0) 编辑
  2015年5月18日
摘要: public static void test1() { NpoiHelper np = new NpoiHelper(); DataTable dt1 = np.ReadExcel(AppDomain.CurrentDomain.BaseDirectory + "1测试数据.x... 阅读全文
posted @ 2015-05-18 11:36 雪夜 阅读(2836) 评论(0) 推荐(0) 编辑
  2015年5月16日
摘要: 综合上述,在a中调用js函数最适当的方法推荐使用:a href="javascript:void(0);" onclick="js_method()"a href="javascript:;" onclick="js_method()"a href="#" onclick="js_method();... 阅读全文
posted @ 2015-05-16 10:27 雪夜 阅读(6869) 评论(0) 推荐(1) 编辑
  2015年5月12日
摘要: 一个ClientDataset的Delta与XML相互转换的文章:大家都知道TClientDataSet的Delta属性保存数据集的变化,但是Delta是OleVariant类型的属性,这样如果用Delphi写Webservice,就有需要把它转成XML,特别是其他语言也要用这个Webservice... 阅读全文
posted @ 2015-05-12 09:03 雪夜 阅读(1152) 评论(0) 推荐(0) 编辑
  2015年5月9日
摘要: 1、判断在字符在字符串,有没有值。 public bool isExists(string str) { if (str != "") { return Regex.Match(str, "[a-eA-E]").Success; ... 阅读全文
posted @ 2015-05-09 09:58 雪夜 阅读(136) 评论(0) 推荐(0) 编辑