2018年8月1日
摘要: Button[,] arr; private void Form1_Load(object sender, EventArgs e) { //获取panel1的宽度计算一行放几个btn int panelWidth = panel1.ClientSize.Width; int num = (pane 阅读全文
posted @ 2018-08-01 11:57 夏昭 阅读(162) 评论(0) 推荐(0) 编辑
  2018年6月22日
摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); } Button[,] arr; private void Form1_Load(object sender, EventArgs e) { //获 阅读全文
posted @ 2018-06-22 10:06 夏昭 阅读(704) 评论(0) 推荐(0) 编辑
  2018年1月27日
摘要: //table 为 表id $('#table ').datagrid({ loadFilter: pagerFilter }).datagrid('loadData', data.Body); //计算分页 function pagerFilter(data) { if (typeof data. 阅读全文
posted @ 2018-01-27 11:35 夏昭 阅读(986) 评论(0) 推荐(0) 编辑
  2017年3月11日
摘要: public class ExcelController : Controller { // // GET: /Excel/ Models.zbwxglEntities myMdl = new Models.zbwxglEntities(); /// /// 第一种方法,利用文件... 阅读全文
posted @ 2017-03-11 09:32 夏昭 阅读(285) 评论(0) 推荐(0) 编辑
  2017年1月11日
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Runtim 阅读全文
posted @ 2017-01-11 17:29 夏昭 阅读(141) 评论(0) 推荐(0) 编辑
  2017年1月4日
摘要: CREATE TABLE [dbo].[Article]( [Id] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL, [MsId] [int] NOT NULL, [Title] [nvarchar](96) NOT NULL, [TitleBak 阅读全文
posted @ 2017-01-04 17:41 夏昭 阅读(93) 评论(0) 推荐(0) 编辑
摘要: sql语句优化 性能不理想的系统中除了一部分是因为应用程序的负载确实超过了服务器的实际处理能力外,更多的是因为系统存在大量的SQL语句需要优化。 为了获得稳定的执行性能,SQL语句越简单越好。对复杂的SQL语句,要设法对之进行简化。 常见的简化规则如下: 1)不要有超过5个以上的表连接(JOIN)2 阅读全文
posted @ 2017-01-04 15:45 夏昭 阅读(565) 评论(0) 推荐(0) 编辑
  2017年1月3日
摘要: 一、数据库的SQL USE [Text]GO/****** Object: StoredProcedure [dbo].[mon] Script Date: 2017-01-03 15:59:28 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONG 阅读全文
posted @ 2017-01-03 16:08 夏昭 阅读(185) 评论(0) 推荐(0) 编辑