04 2018 档案

摘要:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Closures 阅读全文
posted @ 2018-04-28 11:23 enych 阅读(122) 评论(0) 推荐(0) 编辑
摘要:1.msconfig - 系统配置 - 服务-全部禁用 2.DXDIAG direct版本 阅读全文
posted @ 2018-04-26 10:54 enych 阅读(141) 评论(0) 推荐(0) 编辑
摘要:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache\Hyper-V] C:\Windows\Sy 阅读全文
posted @ 2018-04-26 10:40 enych 阅读(910) 评论(0) 推荐(0) 编辑
摘要:public int GetWindowsServiceStartType(String sServiceName) //判断服务状态是手动还是禁用还是自动 { string sState = ""; try { System.Diagnostics.Proc... 阅读全文
posted @ 2018-04-25 17:21 enych 阅读(248) 评论(0) 推荐(0) 编辑
摘要:private void button1_Click(object sender, EventArgs e) { string info = ""; string info1 = ""; RegistryKey Key; Key = Registry.LocalMachine; /... 阅读全文
posted @ 2018-04-25 16:53 enych 阅读(140) 评论(0) 推荐(0) 编辑
摘要:1.在 Global.asax 2.在App_Start/RouteConfig.cs 阅读全文
posted @ 2018-04-20 11:05 enych 阅读(217) 评论(0) 推荐(0) 编辑
摘要:namespace ConsoleApplication1 { public class Program { private ITestA A; public Program(ITestA B) { A = B; } static void Main(string[] args) { //TestA 阅读全文
posted @ 2018-04-19 16:40 enych 阅读(1122) 评论(0) 推荐(1) 编辑
摘要:Win10怎么批量修改文件后缀名?一般我们都是右击重命名,但是,如果要改的文件很多的话,这样做事不行的,该怎么批量修改后缀名呢?下面我们一起来看看两种解决办法 通常我们修改文件后缀名都是右击>"重命名"来完成的,单个或少数文件的话这样完成也不费事,但如果我们有多个文件需要重命名这样做显然太繁琐了,那 阅读全文
posted @ 2018-04-15 21:08 enych 阅读(957) 评论(0) 推荐(0) 编辑
摘要:using Model; using System.Collections.Generic; using System.Text; public class Class1 { #region 生成Model类 public void testff() { #region 数据库ID所对应的类型值 Dictionary DicType ... 阅读全文
posted @ 2018-04-13 16:39 enych 阅读(4230) 评论(0) 推荐(0) 编辑
摘要:using System.Collections.Generic; using System.Text; public class Class1 { //传递 1.表名 2.列名 3.类型 public void GenerateModel(string TableName, string ColumnName, string TypeName)... 阅读全文
posted @ 2018-04-12 16:42 enych 阅读(1209) 评论(0) 推荐(0) 编辑
摘要:select * from sysobjects --查询所有信息 SELECT Name FROM Master..SysDatabases ORDER BY Name --查询所有数据库名字 SELECT name FROM sysobjects WHERE xtype='U' --查询数据库表(先引用数据库[use]) select * from sys.tables --查询数据库... 阅读全文
posted @ 2018-04-12 11:55 enych 阅读(173) 评论(0) 推荐(0) 编辑
摘要:MessageBox.Show(true ? true ? "A" : "B" : "C"); MessageBox.Show(true ? "3" : "4"); 阅读全文
posted @ 2018-04-12 10:58 enych 阅读(2026) 评论(0) 推荐(0) 编辑
摘要:dism.exe /online /enabl-feature /featurename:NetFX3 /Source:h:\sources\sxs。(注意:一定要输入正确,空格也要输入进去,否则命令不能识别,) 安装.net3.5 阅读全文
posted @ 2018-04-12 08:51 enych 阅读(146) 评论(0) 推荐(0) 编辑
摘要:switch ("MySql") //选择语句 // case语句 成对 结束 执行到 第一个break { case "SqlServer2000": case "SqlServer2005": case "SqlServer2008": ... 阅读全文
posted @ 2018-04-11 17:25 enych 阅读(440) 评论(0) 推荐(0) 编辑
摘要:namespace test { using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; public class Form1 : Form // public partial class Form1 : Form ... 阅读全文
posted @ 2018-04-11 15:28 enych 阅读(1086) 评论(0) 推荐(0) 编辑
摘要:using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("test")] //程序集标题 [as... 阅读全文
posted @ 2018-04-11 15:10 enych 阅读(157) 评论(0) 推荐(0) 编辑
摘要:如果是在Windows Server 2012本地控制台下,直接按Win(键盘上的微软徽标键)+R,输入: rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0 回车后,勾选所需要的桌面图标的名称,确定即可。 END 优化0.禁用服务 Superfe 阅读全文
posted @ 2018-04-11 13:49 enych 阅读(560) 评论(0) 推荐(0) 编辑
摘要:ViewBag.model = bLL.GetModel((int)id); ViewBag.RecruitmentTime = ViewBag.model.RecruitmentTime.ToString("yyyy-MM-dd"); //格式化返回前台输出的时间 retur... 阅读全文
posted @ 2018-04-09 09:41 enych 阅读(338) 评论(0) 推荐(0) 编辑
摘要:function ff(str) { var dd = str.replace(//g, ""); var dds = dd.replace(/ /g, "").replace(/ /gi, '');//dds为得到后的内容 return dds; } @Html.Raw(@ViewBag.model.Detail... 阅读全文
posted @ 2018-04-08 11:29 enych 阅读(153) 评论(0) 推荐(0) 编辑
摘要:public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); //routes.MapRout... 阅读全文
posted @ 2018-04-03 17:21 enych 阅读(253) 评论(0) 推荐(0) 编辑

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