摘要: c# 获取请求内容 var requestData = ""; var stream = HttpContext.Current.Request.InputStream; stream.Position = 0; using (var streamReader = new StreamReader( 阅读全文
posted @ 2021-10-28 08:42 临时工~ 阅读(416) 评论(0) 推荐(0) 编辑
摘要: A、安装一个好的centos ; B、开启端口 3306、80 、22 这几个端口 具体命令参考如下 1, 查看防火墙状态: firewall-cmd --state systemctl status firewalld.service 2, 开启防火墙: systemctl start firew 阅读全文
posted @ 2021-09-09 14:09 临时工~ 阅读(114) 评论(1) 推荐(0) 编辑
摘要: 在 ASP.NET Core 的项目中 使用 CodeFirst 的模式,进行初始化迁移时。出现如图所示的问题: 只需要在程序包管理器控制台,输入如下图命令即可: PM> Install-Package Microsoft.EntityFrameworkCore.Tools 阅读全文
posted @ 2020-10-15 15:47 临时工~ 阅读(65) 评论(0) 推荐(0) 编辑
摘要: component 中调用 service时,注意参数匹配 service中function的返回值类型注意是否为数组类型. 原有的demo 实际代码中漏写了 [], 导致的错误 阅读全文
posted @ 2020-03-12 11:24 临时工~ 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. 查看npm镜像源npm config get registry 2. 配置镜像源为淘宝资源 设置cnpm 镜像源npm install -g cnpm --registry=https://registry.npm.taobao.org 或者修改全局镜像源 npm config set reg 阅读全文
posted @ 2020-03-11 14:06 临时工~ 阅读(288) 评论(0) 推荐(0) 编辑
摘要: Regex.IsMatch(sWord.ToLower(), "/response|group_concat|cmd|sysdate|xor|declare|db_name|char| and| or|truncate| asc| desc|drop |table|count|from|select 阅读全文
posted @ 2019-09-24 10:24 临时工~ 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 页面调用 function fnOpen(path) { window.open("~/FileHelp.ashx? url="); //window.open(url); } 后台一般处理程序 var myWebClient = new WebClient(); var url = context 阅读全文
posted @ 2019-02-18 13:19 临时工~ 阅读(2961) 评论(3) 推荐(0) 编辑
摘要: oracle 分组取第一行数据 SELECT * FROM ( SELECT ROW_NUMBER() OVER(PARTITION BY x ORDER BY y DESC) rn, t.* FROM test1 t ) WHERE rn = 1; 查找oracle 执行的语句 select t. 阅读全文
posted @ 2018-11-05 10:28 临时工~ 阅读(3119) 评论(0) 推荐(0) 编辑
摘要: 软件需求确认书 软件设计文档 开发环境的搭建搭建说明 概要设计说明书 详细设计说明书(架构图、模块功能设计) 数据库说明书软件测试计划和文档软件开发过程文档软件测试报告 功能测试报告 性能测试报告项目变更文档 及各项变更申请项目问题报告项目初步验收报告试运行记录及试运行报告项目验收报告用户手册(用户 阅读全文
posted @ 2018-10-27 08:50 临时工~ 阅读(5010) 评论(0) 推荐(0) 编辑
摘要: 错误。 阅读全文
posted @ 2018-08-21 18:09 临时工~ 阅读(509) 评论(1) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013303551/article/details/52354230 SELECT t.table_name, t.colUMN_NAME, t.DATA_TYPE || '(' || t.DATA_LENGTH || ')', t1.COMMENTS 阅读全文
posted @ 2018-03-29 13:28 临时工~ 阅读(2070) 评论(0) 推荐(0) 编辑
摘要: 池的概念 SockIOPool 首先来看下属性 public class MemcacheHelper { private readonly static MemcachedClient mc = null; static MemcacheHelper() { string[] serverlist 阅读全文
posted @ 2018-01-06 10:41 临时工~ 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、建立解决方案 2、 工具-》NutGet程序包管理=》管理解决方案的NutGet程序包 输入关键字 dapper 搜索。选择后安装 3、添加 DataBase.cs文件 using System; using System.Collections.Generic; using System.Li 阅读全文
posted @ 2018-01-06 09:08 临时工~ 阅读(458) 评论(0) 推荐(0) 编辑
摘要: config 文件配置 <configuration>节中 第一个的位置插入如下节点,版本根据实际用到的来写 <configSections> <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configur 阅读全文
posted @ 2017-11-21 09:48 临时工~ 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 1、上结果 能生成文件 ,但是文件中无内容 2、配置文件 <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> </configSect 阅读全文
posted @ 2017-06-10 23:37 临时工~ 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 合同表OrdersOrderIDPositioncodeStartdateEnddate1A2006-11-012006-11-032C2006-11-022006-11-033B2006-11-012006-11-044A2006-11-032006-11-045C2006-11-012006-1... 阅读全文
posted @ 2015-11-22 11:15 临时工~ 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 今天使用的就是这几行代码. 利用 jquery.inputmask.js 下载地址(如果打不开的话 请FQ http://plugins.jquery.com/jquery.inputmask/) $(function () { //输入的格式为(111)111-1111 $(".phone").inputmask("mask", { "mask": "(999... 阅读全文
posted @ 2015-11-19 18:10 临时工~ 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: 索引器是一种特殊的类成员,它能够让对象以类似数组的方式来存取,使程序看起来更为直观,更容易编写。 1、索引器的定义 C#中的类成员可以是任意类型,包括数组和集合。当一个类包含了数组和集合成员时,索引器将大大简化对数组或集合成员的存取操作。 定义索引器的方式与定义属性有些类似,其一般形式如下: [修饰符] 数据类型 this[索引类型 index] { get{//获得属性的代码... 阅读全文
posted @ 2015-11-19 16:44 临时工~ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 很多人喜欢 showLoading 因为 这个实在是太简单了直接 showLoading() hideLoading() 就可以解决这个问题。 今天我们就来看一下 这个插件里面的一个错误 或者说是一个不人性化的地方 对于 showLoading() 中 hPos 和Vpos 默认的都是 center 找到 center X轴 jQuery(loadingDiv).c... 阅读全文
posted @ 2015-11-19 16:43 临时工~ 阅读(958) 评论(0) 推荐(0) 编辑
摘要: 二话不说; 1、先建立个表 CREATE TABLE [dbo].[UserInfo]( [ID] [int] IDENTITY(1,1) NOT NULL, [UserName] [nchar](10) NULL, [UserPass] [nchar](10) NULL, [RegTime] [datetime] NULL, [Email] [nchar](10) ... 阅读全文
posted @ 2015-11-19 16:34 临时工~ 阅读(5908) 评论(2) 推荐(1) 编辑