上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 51 下一页
摘要: 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 阅读(4201) 评论(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 阅读(1166) 评论(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 阅读(171) 评论(0) 推荐(0) 编辑
摘要: MessageBox.Show(true ? true ? "A" : "B" : "C"); MessageBox.Show(true ? "3" : "4"); 阅读全文
posted @ 2018-04-12 10:58 enych 阅读(2025) 评论(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 阅读(437) 评论(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 阅读(1073) 评论(0) 推荐(0) 编辑
摘要: using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("test")] //程序集标题 [as... 阅读全文
posted @ 2018-04-11 15:10 enych 阅读(156) 评论(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 阅读(552) 评论(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 阅读(337) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 51 下一页