愤斗的程序猿丷
Keep on going never give up.
摘要: 报错内容:A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, er 阅读全文
posted @ 2022-03-29 13:34 愤斗的程序猿丷 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 1、安装Microsoft Visual C ++ 2015 Redistributable(https://www.microsoft.com/download/details.aspx?id=53840) 2、保证电脑上有.net core sdk或者.net core runtime; 3、需 阅读全文
posted @ 2020-02-20 08:26 愤斗的程序猿丷 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 如果项目中不同第三方类库分别使用了不同版本的Newtonsoft.Json,可以在配置文件中添加以下节点,将0.0.0.0-9.0.0.0此区间的Newtonsoft.Json使用全部强制指向到项目中使用的版本。 <runtime> <assemblyBinding xmlns="urn:schem 阅读全文
posted @ 2020-02-19 16:33 愤斗的程序猿丷 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 1、确定访问路径有没有问题,路由的设置; 2、配置文件中要加 <modules runAllManagedModulesForAllRequests="true" /> <system.webServer> <validation validateIntegratedModeConfiguratio 阅读全文
posted @ 2019-08-20 16:40 愤斗的程序猿丷 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: wm_concat(列名),该函数可以把列值以","号分隔起来,并显示成一行 准备测试数据SQL> create table test(id number,name varchar2(20));SQL> insert into test values(1,'a');SQL> insert into 阅读全文
posted @ 2018-05-11 09:46 愤斗的程序猿丷 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 将 字符串 '20180321-4768-4735261' 按‘-’ 拆分: 语法: INSTR()函数 1.用处: 在一个字符串中查找指定的字符,返回被查找到的指定的字符的位置。 2.语法格式: instr(sourceString,destString,start,appearPosition) 阅读全文
posted @ 2018-03-21 12:51 愤斗的程序猿丷 阅读(7987) 评论(0) 推荐(0) 编辑
摘要: SQL存在一个表而不在另一个表中的数据方法一使用 not in ,容易理解,效率低select distinct A.ID from A where A.ID not in (select ID from B) www.2cto.com 方法二使用 left join...on... , "B.ID 阅读全文
posted @ 2018-03-16 15:58 愤斗的程序猿丷 阅读(210) 评论(0) 推荐(0) 编辑
摘要: public LoginForm() { InitializeComponent(); //判断是否调试状态 Process currentProcess = Process.GetCurrentProcess();//获取当前进程 //获取当前运行程序完全限定名 ... 阅读全文
posted @ 2018-02-09 09:15 愤斗的程序猿丷 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 简单的使用例子: 1、先建好Word文档,设置好排版、插入标签 2、代码如下: 阅读全文
posted @ 2018-02-09 09:04 愤斗的程序猿丷 阅读(627) 评论(0) 推荐(0) 编辑
摘要: DateTime dt = DateTime.Now; //当前时间 DateTime startWeek = dt.AddDays(1 - Convert.ToInt32(dt.DayOfWeek.ToString("d"))); //本周周一 DateTime endWeek = startWeek.AddDays(6); //本周周日 DateTime startMonth = dt... 阅读全文
posted @ 2018-02-09 08:43 愤斗的程序猿丷 阅读(273) 评论(0) 推荐(0) 编辑