11 2022 档案

摘要:文章来源: https://blog.csdn.net/pigeon79/article/details/123616787 今天配置好IIS环境的时候发现外网不能访问了,内网可以访问,检查了绑定、权限等等都没问题,到底是哪里出了问题呢,在网上搜了一下,原来是防火墙的问题,下面是解决方法: 1、wi 阅读全文
posted @ 2022-11-30 22:45 yinghualeihenmei 阅读(1533) 评论(0) 推荐(0) 编辑
摘要:数据库还没装好,连不到,会提示这个 阅读全文
posted @ 2022-11-30 21:56 yinghualeihenmei 阅读(17) 评论(0) 推荐(0) 编辑
摘要:https://www.bilibili.com/read/cv13230919/ Office2010是微软官方全新推出的Office2010办公软件,新版界面更加简洁,含Office2010版Office Professional Plus 2010,包括Word、Excel、PowerPoin 阅读全文
posted @ 2022-11-30 14:45 yinghualeihenmei 阅读(469) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/aa6a2c14f313114c4d19c41c.html 打开开始菜单,在WINDOWS管理工具下打开IIS。 打开IIS管理窗口,在左侧的目录树中一直展开到“网站”下的“default web site” 鼠标右击“defaul 阅读全文
posted @ 2022-11-30 01:09 yinghualeihenmei 阅读(166) 评论(0) 推荐(0) 编辑
摘要:文章来源: https://blog.csdn.net/qq_36508381/article/details/122836205 这个问题在网上的解决方案都是: 1、点击Win +R键输入comexp.msc -32(如果按钮的Word是64位的输入dcomcnfg)回车 2、以此找到"组件服务 阅读全文
posted @ 2022-11-30 00:35 yinghualeihenmei 阅读(149) 评论(0) 推荐(0) 编辑
摘要:文章来源: http://t.zoukankan.com/heyangyi-p-8515812.html [服务器搭建]ISAPI和CGI限制中没有ASP.NET v4.0解决方式: 1.确保安装IIS时确实安装了ASP.NET,如果没有的话,勾上重新装一下,一般出现404.2时这么干2.如果你是先 阅读全文
posted @ 2022-11-29 22:54 yinghualeihenmei 阅读(63) 评论(0) 推荐(0) 编辑
摘要:文庄来源: https://www.cnblogs.com/jarekpierre/p/11357859.html http://www.clicksun.cn/mis/bbs/showbbs.asp?id=4406 用的第二个链接, 1、如果装了VS再装IIS必须得对.NET Framework 阅读全文
posted @ 2022-11-29 22:50 yinghualeihenmei 阅读(531) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/1518744407826094540.html 按windows键,然后选择服务器管理器,选择添加角色和功能。 阅读全文
posted @ 2022-11-29 22:34 yinghualeihenmei 阅读(1226) 评论(0) 推荐(0) 编辑
摘要:https://www.aiufida.com/jcufida/616.html 在IIS中添加ISAPI和CGI限制功能是非常必要的,因为如果在IIS中不添加添加ISAPI和CGI限制功能可能会引起软件运行过程中报错,或者直接就登录不了,所以首先要保证在IIS安装时就已经勾选了ISAPI和CGI限 阅读全文
posted @ 2022-11-29 22:33 yinghualeihenmei 阅读(331) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/CodeWu91/p/5621292.html windows server 2012 r2 里面安装 sql server 2008 r2 问题总结 前提是 windows server 2012 r2 已经安装完成 ,(仅仅是安装完成 啥服务都没配 阅读全文
posted @ 2022-11-29 17:37 yinghualeihenmei 阅读(1488) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/e9fb46e164226e7520f76652.html 右击压缩,有一个分卷,将大文件分为小份,再拷。将文件放在一个新的文件里进行分卷与解压。 这是对原文件压缩的时候设置的。 360压缩是自己可以填写大小,不合适的会有提示。 阅读全文
posted @ 2022-11-29 16:36 yinghualeihenmei 阅读(544) 评论(0) 推荐(0) 编辑
摘要:DIAB100 MYOP ACNE DIAB100 column like '% DIAB1%' or column like 'DIAB1%' '% DIAB1%'的前面有个空格,空格是分隔两个代码的格式 阅读全文
posted @ 2022-11-28 23:53 yinghualeihenmei 阅读(3) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/93f9803f0ad594a1e46f55c7.html 首先,我们点击任务栏"开始"按钮 点击"服务器管理器"磁贴 选择左侧"本地服务器"项,如图所示 点击"远程桌面"图标 勾选"允许远程连接到此计算机",如图所示 完成设置,谢 阅读全文
posted @ 2022-11-28 20:37 yinghualeihenmei 阅读(1174) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/304148101202171804.html 这是目标平台的设定。一般来说包括但不局限于以下:x86: 将程序集编译为由兼容 x86 的 32 位公共语言运行库(CLR)运行。x64: 将程序集编译为由支持 AMD64 或 EM6 阅读全文
posted @ 2022-11-28 18:10 yinghualeihenmei 阅读(291) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_42176639/article/details/96457859 https://blog.csdn.net/m0_64401301/article/details/123212823 https://blog.csdn.net/m0_67 阅读全文
posted @ 2022-11-28 17:44 yinghualeihenmei 阅读(3761) 评论(0) 推荐(1) 编辑
摘要:https://blog.csdn.net/pupoqian3720/article/details/81290011 传输层:总体作用:在广域网中建立数据传输通道,进行数据传输,负责端到端的通信 那么是什么是端到端呢?A: 两个方面- 物理实际意义上,意味着网络通信双方不再同一链路上,不是点对点连 阅读全文
posted @ 2022-11-28 14:54 yinghualeihenmei 阅读(544) 评论(0) 推荐(0) 编辑
摘要:https://product.pconline.com.cn/itbk/software/dnyw/1436/14362232.html http://t.zoukankan.com/jiguixin-p-2183749.html 在我们使用某个软件时,可能会发现某个软件的端口被抢占,导致软件无法 阅读全文
posted @ 2022-11-28 13:49 yinghualeihenmei 阅读(1497) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_56306210/article/details/125642902 在介绍各种端口的作用前,这里先介绍一下在Windows中如何关闭/打开端口,因为默认的情况下,有很多不安全的或没有什么用的端口是开启的,比如Telnet服务的23端口、FT 阅读全文
posted @ 2022-11-28 13:48 yinghualeihenmei 阅读(435) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhongwang/p/15870246.html 1 syslog介绍 https://www.jianshu.com/p/823052306509 Syslog广泛应用与系统日志、syslog日志消息既可以记录到本地文件,也可以通过网络发送到接收s 阅读全文
posted @ 2022-11-28 13:47 yinghualeihenmei 阅读(602) 评论(0) 推荐(0) 编辑
摘要:https://blog.51cto.com/87209073/75952 大致的敏感端口有:23、135、137-139、445、1433、3389等等。 23端口关闭大法:开始-运行-CMD.net stop telnet; 135端口关闭大法:控制面版-管理工具-服务-找到 remote pr 阅读全文
posted @ 2022-11-28 11:45 yinghualeihenmei 阅读(313) 评论(0) 推荐(0) 编辑
摘要:将名字的第一位改为大写,其他位改为小写 CONCAT(UPPER(left(name, 1)), LOWER(RIGHT(name, length(name) - 1))) as name SQL Server中提供了一个concat()函数用于将两个字符串连接起来,形成一个单一的字符串。 sele 阅读全文
posted @ 2022-11-28 00:22 yinghualeihenmei 阅读(191) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/dnm49386/article/details/101730090 MIN() 函数 MIN 函数返回一列中的最小值。NULL 值不包括在计算中。 SQL MIN() 语法 SELECT MIN(column_name) FROM table_name 阅读全文
posted @ 2022-11-28 00:10 yinghualeihenmei 阅读(523) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/619228487244788132.html 这个是sqlserver数据库中取余的方法 比如: 其中100是被除数,3是除数 2、mod(被除数,除数) 阅读全文
posted @ 2022-11-27 10:48 yinghualeihenmei 阅读(1123) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_40313232/article/details/124987701 https://www.cnblogs.com/wujy/archive/2013/01/08/2851857.html https://learn.microsoft.com/z 阅读全文
posted @ 2022-11-26 14:39 yinghualeihenmei 阅读(104) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_48705696/article/details/115946325 public Form是程序入口,它的InitializeComponent()做了许多初始化的工作,InitializeComponent为你的程序作了必要的初始化工作。 pub 阅读全文
posted @ 2022-11-26 13:54 yinghualeihenmei 阅读(124) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/qianxingdewoniu/p/6858580.html CHARINDEX作用 写SQL语句我们经常需要判断一个字符串中是否包含另一个字符串,但是SQL SERVER中并没有像C#提供了Contains函数,不过SQL SERVER中提供了一个叫 阅读全文
posted @ 2022-11-26 11:13 yinghualeihenmei 阅读(242) 评论(0) 推荐(0) 编辑
摘要:http://www.splaybow.com/csharp-get-set.shtml C#类属性之get与setC#类的属性有公有属性(public)和私有属性(private)。如果直接将一个属性声明为public,则该类的任意实例可以随意获取或修改该属性的值,很不安全。.NET Framew 阅读全文
posted @ 2022-11-25 17:48 yinghualeihenmei 阅读(1152) 评论(2) 推荐(0) 编辑
摘要:https://blog.csdn.net/u011961280/article/details/63262634 可能存在如下问题,可以从下面的问题中查找自己的错误是属于哪一类。自己遇到的一般是对象为NULL的问题。 参考大神的分析,留下解决方案,以便日后查找。 一、数据库方面1、ViewStat 阅读全文
posted @ 2022-11-25 14:39 yinghualeihenmei 阅读(486) 评论(0) 推荐(0) 编辑
摘要:1、选中组织页面 2、工具-合并文件 3、添加文件 4、有签章的需要点选项,改为包。 5、点确定合并,保存包。 阅读全文
posted @ 2022-11-25 14:27 yinghualeihenmei 阅读(173) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/1429930960347473459.html 这情况应当是安装的软件没有卸载干净,有残留,建议你找到它所在的目录把整个文件夹删除,然后再用360安全卫士清理垃圾的功能清理注册表。 手动清理注册表: 首先需要,按Ctrl和alt中 阅读全文
posted @ 2022-11-24 16:40 yinghualeihenmei 阅读(650) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xiaomei2010280/article/details/88949151 当之前安装了某个版本的**.msi之后,再去安装新版本的**.msi,就会出现错误: 已经安装了该产品的另一个版本。无法继续安装此版本。可以使用“控制面板”中“添加/删除程序” 阅读全文
posted @ 2022-11-24 16:37 yinghualeihenmei 阅读(411) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/m0_67401382/article/details/126117592 常用的函数有cast()和convert()。 cast()和convert()函数比较:(1)cast一般更容易使用,convert的优点是可以格式化日期和数值; (2)conv 阅读全文
posted @ 2022-11-23 12:00 yinghualeihenmei 阅读(826) 评论(0) 推荐(0) 编辑
摘要:表中插入多条数据 INSERT INTO [表名]([列名],[列名]) VALUES ([列值],[列值])), ([列值],[列值])), ([列值],[列值])); 阅读全文
posted @ 2022-11-23 11:45 yinghualeihenmei 阅读(89) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/q1923408717/article/details/112240630 TryParse这个函数返回类型为bool类型,用以判断作为参数A(参数A必须为字符串)是否可以转换为前面的类型。如果可以转换,那么则将转化结果以out类型参数的方式返回。例子如下 阅读全文
posted @ 2022-11-22 19:14 yinghualeihenmei 阅读(51) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/355434764.html 配置项目信息,这里打开属性窗口。注意:不是在项目上右键-属性,而是选中项目后点击属性窗口查看。 我点击项目,也没有属性。选中菜单栏中的窗口-重置窗口布局,就出现了。 阅读全文
posted @ 2022-11-22 18:57 yinghualeihenmei 阅读(53) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/477322362.html 命名空间:System.Web.UI程序集:System.Web.Extensions.dll 功能跟Page上的ClientScript差不多,不过主要是用来支持ASP.NET Ajax Framew 阅读全文
posted @ 2022-11-22 13:44 yinghualeihenmei 阅读(20) 评论(0) 推荐(0) 编辑
摘要:现象: 原因是.Designer.cs编码是ANSI,改成UTF8就可以了,用以下方法。 https://www.cnblogs.com/Dongmy/p/15876228.html 但是这次的生成没报错,VS里打开也没问题,只有跑起来显示乱码,刚开始还以为是我电脑有问题。 阅读全文
posted @ 2022-11-22 11:15 yinghualeihenmei 阅读(276) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yhl1234/archive/2006/12/09/587114.html Page_Load(){ // some codes:code1 ...... If(!IsPostBack) { // some codes:code2 ...... } 阅读全文
posted @ 2022-11-22 10:43 yinghualeihenmei 阅读(17) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://blog.csdn.net/YINZHE__/article/details/120575321 1. 在开始菜单中找 2.如果开始菜单中找不到按 win键+R键 打开后在里面输入 SQLServerManager10.msc 这里的 SQLServerManager10. 阅读全文
posted @ 2022-11-20 17:32 yinghualeihenmei 阅读(700) 评论(0) 推荐(0) 编辑
摘要:数据库热备:一般用于保证服务正常不间断运行,用两台机器作为服务机器,一台用于实际数据库操作应用,另外一台实时的从前者中获取数据以保持数据一致.如果当前的机器熄火,备份的机器立马取代当前的机器继续提供服务 冷备:.冷备份指在数据库关闭后,进行备份,适用于所有模式的数据库. 热备是指与目标设备共同运转, 阅读全文
posted @ 2022-11-20 17:09 yinghualeihenmei 阅读(1254) 评论(0) 推荐(1) 编辑
摘要:https://zhidao.baidu.com/question/2019922642324390228.html 1、点击左上角的【组织】按钮,如下图所示,然后进入下一步。 2、然后,在组织下拉菜单栏中,点击布局右侧的细节窗格,将其勾选,如下图所示,然后进入下一步。 3、最后,可以看到在左下角就 阅读全文
posted @ 2022-11-19 16:57 yinghualeihenmei 阅读(564) 评论(0) 推荐(0) 编辑
摘要:http://t.zoukankan.com/Sabre-p-3855689.html 1.运行WebService的调用程序 2.浏览器中运行asmx,这一步是为了让w3wp.exe出现在下一步的列表中 3.“工具”或“调试”菜单-->附加到进程 (MS为什么把同一功能放在不同的两个菜单里?它们有 阅读全文
posted @ 2022-11-19 14:51 yinghualeihenmei 阅读(175) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/A080807/article/details/124483863 https://www.cnblogs.com/HomeSapiens/p/16366835.html C#新建和开启线程的Thread方法 第一步:使用System.Threading命 阅读全文
posted @ 2022-11-19 14:37 yinghualeihenmei 阅读(2729) 评论(0) 推荐(1) 编辑
摘要:https://learn.microsoft.com/zh-cn/dotnet/api/system.reflection.assembly.getexecutingassembly?redirectedfrom=MSDN&view=net-7.0#System_Reflection_Assemb 阅读全文
posted @ 2022-11-18 16:56 yinghualeihenmei 阅读(449) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/f0e83a25d7fbbf22e591012b.html 第一个原因是红框内没有勾选上。选上之后就好了。 第二个问题是因为获取注册表的路径时,获取的是我本地的程序写入注册表的路径。 今天给大家讲在XP下创建自解压文件,XP自带的i 阅读全文
posted @ 2022-11-18 15:47 yinghualeihenmei 阅读(154) 评论(0) 推荐(0) 编辑
摘要:https://wenda.so.com/q/1373000633063497 引用COM组件Windows Script Host Object Model;//设置一个快捷方式IWshRuntimeLibrary.WshShell shell = new IWshRuntimeLibrary.W 阅读全文
posted @ 2022-11-18 14:41 yinghualeihenmei 阅读(465) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/lindexi_gd/article/details/100174991 如果想要创建快捷方式等,很多使用都需要引用 WshShell 类,这个类需要通过 COM 的方法引用 引用 WshShell 不是在一个程序集,而是 Windows Script H 阅读全文
posted @ 2022-11-18 14:31 yinghualeihenmei 阅读(173) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/caixiexin/article/details/5799715 Control. Refresh 强制控件使其工作区无效并立即重绘自己和任何子控件。 什么意思呢,我们用实例看会很快明白: private void button1_Click(objec 阅读全文
posted @ 2022-11-18 14:25 yinghualeihenmei 阅读(184) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/tommy-huang/p/4539999.html 1. 显示窗口的两种方式: Winform中的Form,在显示窗口时,可以使用Show()和ShowDialog()两种方式 2. 非模态窗口方式(可以跟其他界面自由切换,而且不阻塞代码) Show 阅读全文
posted @ 2022-11-18 14:12 yinghualeihenmei 阅读(747) 评论(0) 推荐(0) 编辑
摘要:https://mp.weixin.qq.com/s?src=11&timestamp=1668750584&ver=4173&signature=GkLIgb5awwz*v6twATwzXdmLEn4PRZq3SE2U6hJUOefMyAhtrVQj8oxnqY3ekI4PraDO0km1qkMi 阅读全文
posted @ 2022-11-18 14:05 yinghualeihenmei 阅读(1242) 评论(0) 推荐(1) 编辑
摘要:https://blog.csdn.net/yicai168/article/details/81047077 https://www.cnblogs.com/baozi789654/p/12584801.html 首先设置dataGridView的RowPostPaint事件,然后添加如下代码: 阅读全文
posted @ 2022-11-18 11:29 yinghualeihenmei 阅读(250) 评论(0) 推荐(0) 编辑
摘要:服务器最好不要更新,却没有取消的按钮,可以通过点击电脑的esc按钮退出。 阅读全文
posted @ 2022-11-18 10:48 yinghualeihenmei 阅读(75) 评论(0) 推荐(0) 编辑
摘要:https://pcedu.pconline.com.cn/1501/15015038.html 有用户不想更新自己的win11系统,但是不知道win11不更新系统如何设置,其实我们可以通过服务或者组策略来关闭更新。 方法一: 1、首先右键“ 此电脑 ”,打开“ 管理 ” 2、接着展开服务和应用程序 阅读全文
posted @ 2022-11-18 10:32 yinghualeihenmei 阅读(655) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/abx_king/article/details/90514273 在服务器上看到这这款软件,查了后特此记录下。 Windows服务器使用IIS跑网站,在某些站点升级https后需要对IIS做权限安全配制,手工一个个去注册表找出来修改还是很麻烦的事~肿么办 阅读全文
posted @ 2022-11-18 10:25 yinghualeihenmei 阅读(774) 评论(0) 推荐(0) 编辑
摘要:word转PDF,手机上用WPS打开,左下角:工具=>特色功能=>PDF标注 。可以手写签名. 我的是在工具-标注里面,需要先登录wps的账号。 阅读全文
posted @ 2022-11-17 13:42 yinghualeihenmei 阅读(888) 评论(0) 推荐(0) 编辑
摘要:https://www.zhihu.com/question/36306744 简单说,因为某些场合并不能传输或者储存二进制流。 比如,如果一个传输协议是基于ASCII文本的,那么它就不能传输二进制流,那你要将二进制流传输就得编码。常见的诸如 http 协议的 url 就是纯文本的,不能直接放二进制 阅读全文
posted @ 2022-11-17 11:18 yinghualeihenmei 阅读(26) 评论(0) 推荐(0) 编辑
摘要:http://www.javashuo.com/article/p-xqzdxtea-kt.html 比如,打开一个登录页面,输入用户名和密码,在没有用focus()这个方法时,焦点是在IE的地址栏,用focus()可以把焦点放到用户名的输入框上,这样对于使用者来说比较方便。 onfocus:当元素 阅读全文
posted @ 2022-11-17 09:55 yinghualeihenmei 阅读(1068) 评论(0) 推荐(0) 编辑
摘要:https://shiyousan.com/post/635864113903683526 遇到这个问题千万不要慌张,不要去重置或者重新安装VS,因为这只是费时费力的操作,而且不明白此错误的原因以后还会遇到。解决这个问题有两种方法,第一种就是设置默认启动项目,第二种就是将多启动项目改为单启动项目。 阅读全文
posted @ 2022-11-16 10:23 yinghualeihenmei 阅读(3397) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/guoqiang1983/article/details/2708060 阅读全文
posted @ 2022-11-15 18:09 yinghualeihenmei 阅读(99) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/swarb/article/details/9698233 异常信息:CLR无法从COM 上下文0x645e18 转换为COM上下文0x645f88,这种状态已持续60秒。拥有目标上下文/单元的线程很有可能执行的是非泵式等待或者在不发送 Windows 消 阅读全文
posted @ 2022-11-15 17:50 yinghualeihenmei 阅读(336) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/1643403394551614060.html 1、首先打开sql server,找到需要导出的数据库。 2、单击右键,选择 任务 -> 生成脚本,然后选择下一步。 3、等待一会加载后,选择具体数据库对象,然后选择需要的表,,之后 阅读全文
posted @ 2022-11-15 14:17 yinghualeihenmei 阅读(2526) 评论(0) 推荐(1) 编辑
摘要:https://www.cnblogs.com/rainbow70626/p/4739161.html https://blog.csdn.net/hb571843232/article/details/108337840 Application.DoEvents()的作用:处理当前在消息队列中的所 阅读全文
posted @ 2022-11-15 11:15 yinghualeihenmei 阅读(40) 评论(0) 推荐(0) 编辑
摘要:https://www.rkxy.com.cn/bcjs/19506.html 方法步骤 1.首先打开软件,我们在界面中打开一个数据库,在数据库中打开一个需要设置主键的表。 2.接着我们按住键盘上的Ctrl键,用鼠标将需要设置为主键的两个字段选中,如下图所示。 3.选中字段后,我们右击鼠标,界面上就 阅读全文
posted @ 2022-11-14 15:22 yinghualeihenmei 阅读(7305) 评论(0) 推荐(0) 编辑
摘要:https://zhuanlan.zhihu.com/p/562721751 平时会直接在正常的库里面直接建表,好像和这个不一样,了解下。平时用时会直接在库里备份数据,然后删掉备份的表。属于数据备份,不是真正的临时表。 一、临时表的介绍 1、临时表与永久表操作相似 2、临时表是存储在tempdb数据 阅读全文
posted @ 2022-11-14 15:12 yinghualeihenmei 阅读(423) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/laughingsister/article/details/109462474 出现这种问题,一般是列不一致,核对下列数。 还有,一定要保证 dt中的列名和数据库中的列名 一致,区分大小写。 阅读全文
posted @ 2022-11-14 15:07 yinghualeihenmei 阅读(223) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/hdhai9451/article/details/46455813 https://www.cnblogs.com/wyt007/p/8023391.html 在开发,有时为了验证程序运行是否正确,通常要写日志来记录操作,在一个日志类里,通常有两个方法: 阅读全文
posted @ 2022-11-14 13:41 yinghualeihenmei 阅读(2223) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/xiaotiannet/p/3510586.html 符号 ASCII码 意义 \n 10 换行 \r 13 回车CR '\r' 回车,回到当前行的行首,而不会换到下一行,如果接着输出的话,本行以前的内容会被逐一覆盖; '\n' 换行,换到当前位置的下 阅读全文
posted @ 2022-11-14 10:51 yinghualeihenmei 阅读(449) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/cxu123321/article/details/102739208 MultipleActiveResultSets可以使数据库连接复用。 如为True时,建立数据库连接时会先查询服务器上是否已为此用户建立连接,如已建立则直接复用此连接。 这样就不怕数 阅读全文
posted @ 2022-11-14 10:15 yinghualeihenmei 阅读(413) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/knqiufan/article/details/81359742 今天写代码的时候用到ImportRow()向DataTable中添加记录,代码如下: DataTable dt = datatable;DataRow dr = dt.NewRow();d 阅读全文
posted @ 2022-11-14 09:43 yinghualeihenmei 阅读(152) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/1861691860885843707.html 在面向对象的编程中,通常把用类创建对象的过程称为实例化,其格式如下: 类名 对象名 = new 类名(参数1,参数2...参数n) (这里,“类名”这个类名实例化成了“对象名”这个对 阅读全文
posted @ 2022-11-14 09:27 yinghualeihenmei 阅读(61) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_43304572/article/details/84260450 / https://blog.csdn.net/2303_78156670/article/details/136754280 / http://t.zoukankan.com/ya 阅读全文
posted @ 2022-11-13 22:47 yinghualeihenmei 阅读(279) 评论(0) 推荐(0) 编辑
摘要:https://www.nhooo.com/note/qa07nr.html ElementAt()是C#中的System.Linq方法,用于获取和显示特定索引处的元素。 以下是我们的字符串数组- string[] arr = { "One", "Two", "Three", "Four", "Fi 阅读全文
posted @ 2022-11-13 22:40 yinghualeihenmei 阅读(1917) 评论(0) 推荐(0) 编辑
摘要:https://www.likecs.com/show-205081943.html#sc=466.6666564941406 KeyValuePair 和 Dictionary 的关系 1、KeyValuePair a、KeyValuePair 是一个结构体(struct); b、KeyValue 阅读全文
posted @ 2022-11-13 22:36 yinghualeihenmei 阅读(44) 评论(0) 推荐(0) 编辑
摘要:http://t.zoukankan.com/dudu837-p-1852413.html https://zhidao.baidu.com/question/1923939285715385947.html keyValuePair翻译过来就是键值对,也就是一个一对一的数据类型,它是值类型,可以理 阅读全文
posted @ 2022-11-13 22:36 yinghualeihenmei 阅读(1957) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lcxBlog/p/4508031.html 1. 使用StringBuilder的好处 由于string对象是不可更改的,我们每次使用string类的方法时,都会在内存中重新创建一个新的string对象,这时候就要为该对象分配内存空间了。如果在一段代 阅读全文
posted @ 2022-11-13 22:31 yinghualeihenmei 阅读(363) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/n_moling/article/details/78953658 Remove(int startIndex): 删除此字符串中从指定位置到最后位置的所有字符。 Remove(int startIndex, int length): 从此实例中的指定位置 阅读全文
posted @ 2022-11-13 22:17 yinghualeihenmei 阅读(41) 评论(0) 推荐(0) 编辑
摘要:https://www.freesion.com/article/7574843646/ 可以看出耗时差距微乎其微,并且以上代码在不同硬件环境下所耗时也有些许变化。 阅读全文
posted @ 2022-11-13 22:12 yinghualeihenmei 阅读(27) 评论(0) 推荐(0) 编辑
摘要:https://blog.51cto.com/u_15162069/2751372 https://blog.csdn.net/five_s/article/details/115213102 SQL Server 批量插入数据方案 SqlBulkCopy 相较于 Insert 语句而言有20~40 阅读全文
posted @ 2022-11-13 22:01 yinghualeihenmei 阅读(4093) 评论(0) 推荐(2) 编辑
摘要:https://blog.csdn.net/dmlk31/article/details/111206272 .说明 1、必须包含名空间 System.Collection.Generic2、Dictionary里面的每一个元素都是一个键值对(由二个元素组成:键和值)3、键必须是唯一的,而值不需要唯 阅读全文
posted @ 2022-11-13 21:38 yinghualeihenmei 阅读(592) 评论(0) 推荐(0) 编辑
摘要:MTM_Timer.Enabled = true; MTM_Timer.Start(); 今天遇到一个问题,以前运行的好好的服务,重新覆盖后就不跑了,后来将Timer.Start();注销掉就好了。 有网友说MTM_Timer.Enabled = true;与MTM_Timer.Start();是一 阅读全文
posted @ 2022-11-12 15:58 yinghualeihenmei 阅读(89) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/bruce1992/p/15028817.html 用c#中创建一个windows服务非常简单,与windows服务相关的类都在System.ServiceProcess命名空间下。 每个服务都需要继承自ServiceBase类,并重写相应的启动、暂停 阅读全文
posted @ 2022-11-12 14:33 yinghualeihenmei 阅读(237) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/i-cheng/p/10018801.html 1.System.Timers命名空间下的Timer类。System.Timers.Timer类:定义一个System.Timers.Timer对象,然后绑定Elapsed事件,通过Start()方法来启 阅读全文
posted @ 2022-11-12 14:13 yinghualeihenmei 阅读(419) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/mahaisong/archive/2011/07/18/2109364.html system.ServiceProcess 命名空间提供用于实现、安装和控制 Windows 服务应用程序的类。服务是长期运行的可执行文件,其运行没有用户界面。实现服务 阅读全文
posted @ 2022-11-11 14:48 yinghualeihenmei 阅读(18) 评论(0) 推荐(0) 编辑
摘要:https://wenda.so.com/q/1371555124068874?src=140&q=c%23%E5%AE%9A%E6%97%B6%E7%A8%8B%E5%BA%8F https://blog.csdn.net/yudehui/article/details/9454947 如果是we 阅读全文
posted @ 2022-11-11 13:56 yinghualeihenmei 阅读(36) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jingfengling/p/5962182.html 简单用法就不写了。 原始表: 1、Group By中Select指定的字段限制 示例 select 类别, sum(数量) as 数量之和, 摘要 from A group by 类别 order 阅读全文
posted @ 2022-11-11 11:18 yinghualeihenmei 阅读(712) 评论(0) 推荐(0) 编辑
摘要:1. 聚合函数的介绍 聚合函数又叫组函数,通常是对表中的数据进行统计和计算,一般结合分组(group by)来使用,用于统计和计算分组数据。 常用的聚合函数: count(col): 表示求指定列的总行数 max(col): 表示求指定列的最大值 min(col): 表示求指定列的最小值 sum(c 阅读全文
posted @ 2022-11-11 10:35 yinghualeihenmei 阅读(305) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/86f4a73eb9349037d65269bb.html C#编写的winform程序放在服务器执行 新建的一个winform程序,将config文件,与exe程序,两个拷到服务器,就可以直接运行了! C#编写的winform程序 阅读全文
posted @ 2022-11-10 19:27 yinghualeihenmei 阅读(1334) 评论(0) 推荐(0) 编辑
摘要:http://t.zoukankan.com/YYkun-p-15380859.html C# 实现数据脱敏 数据脱敏,此处以姓名、身份证为例 /// <summary> /// 姓名敏感处理 /// </summary> /// <param name="fullName">姓名</param> 阅读全文
posted @ 2022-11-10 17:59 yinghualeihenmei 阅读(509) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lyy445910200/p/5420554.html 1.绑定数据库中一个主键前台代码:<ItemTemplate> <asp:ImageButton ID="ibtnUpdate" runat="server" CommandArgument='< 阅读全文
posted @ 2022-11-10 10:36 yinghualeihenmei 阅读(38) 评论(0) 推荐(0) 编辑
摘要:SELECT * FROM table WHERE code not LIKE '%[^0-9]%'SELECT * FROM 表WHERE IsNumeric(需要检查的字段名) = 0 阅读全文
posted @ 2022-11-09 17:06 yinghualeihenmei 阅读(1438) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/jiangyu912/article/details/4969376 iTextSharp.dll是个开源的用于生成pdf的类库了 项目中我们只需要引用就可以了,可以用来合并,拆分PDF,也可以用来添加水印 添加水印:https://zhuanlan.zh 阅读全文
posted @ 2022-11-04 14:12 yinghualeihenmei 阅读(181) 评论(0) 推荐(0) 编辑
摘要:http://www.javashuo.com/article/p-bxxifltn-hb.html 依我我的理解单元测试就是对程序的小单元进行测试,一个测试不该包含两个或更多单元,整体而言大多都是对方法、属性的编码正确性进行验证。可是每每一个方法又会调用其余的方法或属性,我这里暂称之为外部依赖,于 阅读全文
posted @ 2022-11-04 13:33 yinghualeihenmei 阅读(108) 评论(0) 推荐(0) 编辑
摘要:https://www.nhooo.com/note/qa0bsy.html C#中的Convert.FromBase64String(String)方法将指定的字符串转换为等效的8位无符号整数数组,该字符串将二进制数据编码为以64位为基数。 语法 以下是语法- public static byte 阅读全文
posted @ 2022-11-03 17:53 yinghualeihenmei 阅读(1622) 评论(0) 推荐(0) 编辑
摘要:https://www.win7zhijia.cn/jiaocheng/win7_37748.html 在刚接触新电脑的时候,许多用户都是从系统自带的ie浏览器中来寻找软件的下载地址,这时就需要点击网页中的一些链接来打开,然而有的用户想要点击某个链接时却总是无法跳转至想要的页面,那么ie浏览器跳转不 阅读全文
posted @ 2022-11-03 11:24 yinghualeihenmei 阅读(5654) 评论(0) 推荐(0) 编辑
摘要:https://xinzhi.wenda.so.com/a/1521774086208433 开始菜单中打开IE浏览器。 2 点击“设置”按钮,找到“关于Internet Explorer” 3 弹出窗口中可查看版本号。 END 方法2 1 按下“Win+R”打开“运行”,输入“CMD”,点击“确定 阅读全文
posted @ 2022-11-03 10:26 yinghualeihenmei 阅读(635) 评论(0) 推荐(0) 编辑
摘要:https://www.likecs.com/show-205115518.html 最近由于项目中利用PHP调用com组件读取word文档,然后转换成pdf格式的文件。所以在服务器Windows Server® 2008 Enterprise中安装了office 2010,然后想要配置COM组件的 阅读全文
posted @ 2022-11-02 19:00 yinghualeihenmei 阅读(92) 评论(0) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/e3c78d6428e8517c4d85f560.html 我们点击这个分析按钮就可以看到很多的命令。 然后我们点击代码清理按钮。 接下来哦我们就能点击这个对解决方案清理的命令。 此刻我们就能看到代码清理的配置。 好了后我们就能在这 阅读全文
posted @ 2022-11-02 17:23 yinghualeihenmei 阅读(142) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/sunny3158/articles/14218470.html Clone() 只是复制表结构,包括所有的架构和约束。简单理解就是复制原表中的字段。 Copy() 复制整个表,包括表结构和表中所有的数据,即原表中的字段和字段值。 替换DataTabl 阅读全文
posted @ 2022-11-02 14:31 yinghualeihenmei 阅读(2165) 评论(0) 推荐(0) 编辑
摘要:https://www.win7zhijia.cn/win10jc/win10_44717.html https://forsenergy.com/zh-cn/comexp/html/fe1fcbff-8fc6-4850-b7f9-b152eb6797d8.htm 组件服务的重点是 COM+ 应用程 阅读全文
posted @ 2022-11-01 18:59 yinghualeihenmei 阅读(263) 评论(0) 推荐(0) 编辑
摘要:http://g.pconline.com.cn/x/967/9672481.html 一、 1,首先我们用鼠标点开屏幕左下角的“开始”按钮,选择里面的“运行”附件程序,也可以按以下电脑键盘上的Win键和R键。 2,然后运行窗口就出现了,我们在该窗口处输入口令regedit,然后点击确定,这样就能把 阅读全文
posted @ 2022-11-01 17:22 yinghualeihenmei 阅读(1261) 评论(0) 推荐(0) 编辑
摘要:http://www.80vps.com/d6085.html (2012版本) 云服务器开通后默认用户名是administrator,并会随机生成一个初始密码,这样的管理员账户是极不安全的,所以进入系统后首先要做的就是修改默认用户名和密码,方法如下:一、更改管理员密码:1、右键“我的电脑”,打开“ 阅读全文
posted @ 2022-11-01 16:46 yinghualeihenmei 阅读(1302) 评论(0) 推荐(0) 编辑
摘要:360,qq浏览器等大部分浏览器清缓存方式: 工具/更多工具 internet选项 Microsoft Edge 清除方式: 1、 选择历史记录。 2、 选择清除浏览数据 3、点击清除 2、使用快捷键清除缓存:在大多数浏览器中,按下Ctrl + Shift + Delete键组合,会直接打开缓存清除 阅读全文
posted @ 2022-11-01 11:47 yinghualeihenmei 阅读(706) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/osfront/article/details/116049846 打开服务器看到了一个软件fscan64,并有运行页面。因为没见过,吓了我一跳,搜索了下是什么,记录下。 简介 fscan 是一个内网综合扫描工具,方便一键自动化、全方位漏洞扫描。 它支持主 阅读全文
posted @ 2022-11-01 10:24 yinghualeihenmei 阅读(1578) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示