会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夏昭
博客园
首页
新随笔
联系
订阅
管理
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 夏昭
阅读(167)
评论(0)
推荐(0)
2018年6月22日
winfrom 界面上panel控件中的button按钮上下左右键事件
摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); } Button[,] arr; private void Form1_Load(object sender, EventArgs e) { //获
阅读全文
posted @ 2018-06-22 10:06 夏昭
阅读(729)
评论(0)
推荐(0)
2018年1月27日
easyui-datagrid 前端分页
摘要: //table 为 表id $('#table ').datagrid({ loadFilter: pagerFilter }).datagrid('loadData', data.Body); //计算分页 function pagerFilter(data) { if (typeof data.
阅读全文
posted @ 2018-01-27 11:35 夏昭
阅读(999)
评论(0)
推荐(0)
2017年3月11日
mvc导入导出
摘要: public class ExcelController : Controller { // // GET: /Excel/ Models.zbwxglEntities myMdl = new Models.zbwxglEntities(); /// /// 第一种方法,利用文件...
阅读全文
posted @ 2017-03-11 09:32 夏昭
阅读(302)
评论(0)
推荐(0)
2017年1月11日
winfrom右下角弹出窗口
摘要: 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 夏昭
阅读(148)
评论(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 夏昭
阅读(97)
评论(0)
推荐(0)
SQL优化注意事项
摘要: sql语句优化 性能不理想的系统中除了一部分是因为应用程序的负载确实超过了服务器的实际处理能力外,更多的是因为系统存在大量的SQL语句需要优化。 为了获得稳定的执行性能,SQL语句越简单越好。对复杂的SQL语句,要设法对之进行简化。 常见的简化规则如下: 1)不要有超过5个以上的表连接(JOIN)2
阅读全文
posted @ 2017-01-04 15:45 夏昭
阅读(603)
评论(0)
推荐(0)
2017年1月3日
sql事务的调用
摘要: 一、数据库的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 夏昭
阅读(190)
评论(0)
推荐(0)