会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三醉
路的尽头,终会相遇
博客园
首页
新随笔
联系
管理
订阅
2022年7月13日
c# 多时间段去重
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApp4 { public class Program { public static voi
阅读全文
posted @ 2022-07-13 18:26 三醉
阅读(168)
评论(0)
推荐(0)
2018年9月3日
winform在线操作office--dsoframerocx第三方控件
摘要: public Form1() { InitializeComponent(); RegControl();//注册控件 axFramerControl1.Menubar = false;//file栏 axFramerControl1.Titlebar = false;//标题栏 ...
阅读全文
posted @ 2018-09-03 22:00 三醉
阅读(497)
评论(0)
推荐(0)
2018年8月3日
Dapper操作
摘要: public const string connString = "Data Source=.;Initial Catalog=test;User ID=sa;Password='qq'"; private void dapperTest_Click(object sender, EventArgs
阅读全文
posted @ 2018-08-03 23:36 三醉
阅读(222)
评论(0)
推荐(0)
2018年8月2日
ado.net入门
摘要: //1.0连接字符串 string conStr = "Data Source=.;Initial Catalog=test;User ID=sa;Password='qwertyu'"; //2.0返回第行第一列结果 using (SqlConnection conn = new SqlConnec...
阅读全文
posted @ 2018-08-02 23:02 三醉
阅读(105)
评论(0)
推荐(0)
2018年3月13日
解决Win10 中打开VS2012 出现“ASP.NET 4.0 尚未在 Web 服务器上注册”
摘要: iis 勾上net4.5或以上(或者打补丁http://download.microsoft.com/download/A/0/2/A02C37E0-77F7-448A-BD5C-F66AB1F78DBC/VS11-KB3002339.exe)
阅读全文
posted @ 2018-03-13 22:12 三醉
阅读(189)
评论(0)
推荐(0)
2017年5月22日
后台调用前台方法
摘要: Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>closeWin();</script>");
阅读全文
posted @ 2017-05-22 15:51 三醉
阅读(464)
评论(0)
推荐(0)
2017年2月27日
DataTable和List互转
摘要: /// <summary> /// list转datatable /// </summary> /// <typeparam name="T"></typeparam> /// <param name="collection"></param> /// <returns></returns> pub
阅读全文
posted @ 2017-02-27 11:09 三醉
阅读(6412)
评论(0)
推荐(1)
2017年2月24日
读取Excel
摘要: public static class ExcelHelper { #region 查询Excel /// <summary> /// 将Excel文件导出至DataTable(第一行作为表头) /// </summary> /// <param name="ExcelFilePath">Excel
阅读全文
posted @ 2017-02-24 13:55 三醉
阅读(281)
评论(0)
推荐(1)
压缩解压
摘要: public class ZipHerlper { #region 压缩zip public static bool CreateZipDirectory(string dirPath, string zipFilePath) { bool success = false; FileInfo zip
阅读全文
posted @ 2017-02-24 11:49 三醉
阅读(211)
评论(0)
推荐(0)
2017年2月6日
winform语音提示
摘要: 1 public static class voiceHelper 2 { 3 public static System.Speech.Synthesis.SpeechSynthesizer synth; 4 /// 5 /// 语音提示 6 /// 7 /// 提示内容 8 ...
阅读全文
posted @ 2017-02-06 09:43 三醉
阅读(1512)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享