健康一贴灵,专注医药行业管理信息化
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 29 下一页
摘要: 总结下,winform开发windows服务全过程 ;windows服务的代码中,不能有MessageBox.Show()等winform的控件引用 。可以使用写文本日志的方法调试; 1、添加服务引用,输入 webservice的地址,点转到,然后给引用的服务起个“命名空间”名字,之后会在“解决方案 阅读全文
posted @ 2022-08-22 16:24 一贴灵 阅读(641) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2022-08-15 16:17 一贴灵 阅读(536) 评论(0) 推荐(0)
摘要: 批处理命令获取当前盘符和当前目录 当前盘符:%~d0当前路径:%cd%当前执行命令行:%0当前bat文件路径:%~dp0当前bat文件短路径:%~sdp0 测试 1 2 3 4 5 echo 当前盘符:%~d0 echo 当前路径:%cd% echo 当前执行命令行:%0 echo 当前bat文件路 阅读全文
posted @ 2022-08-15 09:35 一贴灵 阅读(1088) 评论(0) 推荐(0)
摘要: 使用winform程序控制window服务的操作 c#之添加window服务(定时任务) - 腾讯云开发者社区-腾讯云 (tencent.com) 79条消息) C#实操1 创建windows服务,并用winform窗口程序实现安装服务、开启服务、停止服务、卸载服务_67号人生的博客-CSDN博客_ 阅读全文
posted @ 2022-08-12 16:56 一贴灵 阅读(1790) 评论(0) 推荐(0)
摘要: 1、生成XML并压缩; DataTable dt2 = DBHelperPg.ExecuteDataTable(sql); dgvStore.DataSource = dt2; string xmlFilename = "666.xml"; FileStream fsWriteXml = new F 阅读全文
posted @ 2022-08-11 16:00 一贴灵 阅读(344) 评论(0) 推荐(0)
摘要: DataTable dt2 = DBHelperPg.ExecuteDataTable(sql); dgvStore.DataSource = dt2; string xmlFilename = "666.xml"; FileStream fsWriteXml = new FileStream(xm 阅读全文
posted @ 2022-08-11 14:10 一贴灵 阅读(546) 评论(0) 推荐(0)
摘要: C#逆向 反编译工具dotPeekdotPeek官网地址:https://www.jetbrains.com/decompiler/ 是 JetBrains 开发的一款.Net反编译工具,是.Net工具套件中的一个 将 .NET 程序集反编译为 C#dotPeek 是一款基于 ReSharper 捆 阅读全文
posted @ 2022-08-11 09:46 一贴灵 阅读(2161) 评论(0) 推荐(0)
摘要: 原文 :(79条消息) C#连接Oracle数据库_闲齁齁的博客-CSDN博客_c# oracle 1.C#连接Oracle数据库C#连接Oracle数据库目前常用的有三种方式:(1)System.Data.OracleClient.dll(微软)(2)Oracle.DataAccess.Clien 阅读全文
posted @ 2022-08-09 11:31 一贴灵 阅读(1248) 评论(0) 推荐(0)
摘要: using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; namespace MAutoUpdate { p 阅读全文
posted @ 2022-08-09 09:30 一贴灵 阅读(183) 评论(0) 推荐(0)
摘要: 如果想替换第3个位置的“b",为“E" string s = "bbbbbccc"; char[] c = s.ToCharArray(); c[3] = 'e'; s = new string(c); 阅读全文
posted @ 2022-08-05 08:25 一贴灵 阅读(1130) 评论(0) 推荐(0)
摘要: 1、Ms Sql Server SELECT getdate(); SELECT getdate()-90 ; -- 取90天前日期; select convert(varchar,getdate()-90,23); --转换为字符串,只取日期 SELECT year(getdate()); SEL 阅读全文
posted @ 2022-07-27 08:55 一贴灵 阅读(1403) 评论(0) 推荐(0)
摘要: --定义变量 1 a numeric; 方式一: 1 select sqla into a from table1 where b = '1' ; --这是sql语句赋值 方式二: 1 2 sql1:= 'select a from table1 where b = ' '1' ' '; execu 阅读全文
posted @ 2022-07-15 14:42 一贴灵 阅读(2395) 评论(0) 推荐(0)
摘要: select '202206' as yearmonth, c.name, sum(case when left(yearmonth,4) = left(to_char(to_date('202206','yyyymm') - interval '12 month','yyyymm'),4) and 阅读全文
posted @ 2022-07-12 16:52 一贴灵 阅读(58) 评论(0) 推荐(0)
摘要: 查询员工ID select partner, bu_sort2,xdele,mc_name1 from but000 where bu_Group='Z005' string beginDate, endDate; //年月格式 :202201 beginDate = frmFlowWhere.Be 阅读全文
posted @ 2022-07-05 13:41 一贴灵 阅读(1389) 评论(0) 推荐(0)
摘要: CREATE TEMPORTY TABLE TMP_TESTABC (ID INT4,NAME TEXT) 生成临时表(会话结束后会自动删除) 创建临时表 select * into temp table tmp0 from xxx 一、根据原表创建临时表 CREATE TEMP TABLE tmp 阅读全文
posted @ 2022-05-30 17:04 一贴灵 阅读(3517) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 29 下一页
学以致用,效率第一