随笔分类 -  C#

DataSet 读取/压缩 /解压
摘要:// 从数据库读取dataset ,压缩写入 wenjian MssqlHelper db = new MssqlHelper(GlobalSetting.ConnectString); DataSet ds = db.ExecuteDataSet("select * from dim_goods" 阅读全文

posted @ 2024-01-22 15:56 EasyBI 阅读(57) 评论(0) 推荐(0)

Quartz Demo 任务调度程序简单Demo
摘要:创建Windows 控制台应用程序 , .net framework 版本 4.5.2 Nuget . Quartz 版本 用 2.5 using Quartz; using Quartz.Impl; using System; using System.Collections.Generic; u 阅读全文

posted @ 2024-01-04 16:45 EasyBI 阅读(88) 评论(0) 推荐(0)

dev gridlookupedit 实现模糊查询
摘要:为gridlookupedit 实现POPUP方法, 第4行的"F1"改为所需的列名 private void gridLookUpEdit1_Popup(object sender, EventArgs e) { try { ... 阅读全文

posted @ 2014-07-07 09:40 EasyBI 阅读(1574) 评论(0) 推荐(0)

C# 计算二个经纬度之间的距离
摘要:static void Main(string[] args) { LatLng start = new LatLng(113.731389, 23.017926); LatLng end = new LatLng(113.723492, 23.032777); double lat1 = (Math.PI / 180) * start.latitude; double lat2 = (Math.PI / 180) * end.latitude; doub... 阅读全文

posted @ 2014-01-16 00:20 EasyBI 阅读(768) 评论(0) 推荐(0)

微信C#响应代码
摘要:暂时只把代码贴上来,自己Mark着1. 从微信GET access_tokenstring urlGet = @"https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx3de0ac694cbc35f1&secret=ab49137d7f8098ec655b5614c11373cb";WebClient webClient = new WebClient();webClient.Headers.Add("Content-Type", &quo 阅读全文

posted @ 2014-01-05 23:42 EasyBI 阅读(451) 评论(0) 推荐(0)

导航