• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
han-zhonggong
博客园 首页 新随笔 联系 订阅 订阅 管理

2022年9月18日

SQL Server -- 解决存储过程传入参数作为sql语句条件值时,执行阻塞问题
摘要: 成本核算程序执行某个存储过程一直阻塞,排查发现类似以下语句阻塞: select tbl1.product_id,sum(isnull(tbl1.qty,0) * isnull(tbl2.unit_other_cost,0)) as other_cost from tbl1.p_id=@pId and 阅读全文
posted @ 2022-09-18 15:42 han-zhonggong 阅读(401) 评论(0) 推荐(0)
 
C# DataGridView防止闪烁的方法
摘要: 启用dataGridView的双缓冲即可解决,方法如下: Type type = dataGridView.GetType(); PropertyInfo pi = type.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingF 阅读全文
posted @ 2022-09-18 15:41 han-zhonggong 阅读(599) 评论(0) 推荐(0)
 
C# WinForm DataGridView根据某一列值改变行颜色
摘要: DataGridView根据某一列值改变行颜色,需要同时用到事件:CurrentCellDirtyStateChanged 和 CellValueChanged private void dgv1_CellValueChanged(object sender, DataGridViewCellEve 阅读全文
posted @ 2022-09-18 15:40 han-zhonggong 阅读(730) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3