- 博客(7)
- 资源 (15)
- 收藏
- 关注
原创 设置GroupBox里的不同控件的Enabled属性
for (int i = 0; i < this.groupBox2.Controls.Count; i++) { this.groupBox2.Controls[i].Enabled = false; }
2014-10-20 15:51:51 2644 1
原创 sql 按每五分钟 分组
select * from (select DAYS, ROW_NUMBER()OVER(ORDER BY DAYS) rn from (SELECT to_date('2014-09-09 12:00:00', 'yyyy-mm-dd hh24:mi:ss') + ROWNUM/24/60 - 1/24/60 DAYS FROM DUAL CONNECT BY ROWNUM
2014-10-16 12:14:05 6290
原创 对于KEYPRESS里的正则输入,格式要求为*.xx 保留2位小数
private void Cells_KeyPress(object sender, KeyPressEventArgs e) //自定义事件 { if (this.dataGridView1.CurrentCellAddress.X == 2) {
2014-10-16 11:11:33 1081 1
转载 C#_winform_DataGridView_的18种常见属性
C# winform DataGridView 属性说明① 取得或者修改当前单元格的内容 ② 设定单元格只读 ③ 不显示最下面的新行 ④ 判断新增行 ⑤ 行的用户删除操作的自定义 ⑥ 行、列的隐藏和删除 ⑦ 禁止列或者行的Resize ⑧ 列宽和行高以及列头的高度和行头的宽度的自动调整 ⑨ 冻结列或行 ⑩ 列顺序的调整
2014-10-13 13:56:56 755
转载 datagridview 限制某列只能输入数字
public DataGridViewTextBoxEditingControl CellEdit = null;private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e){ if (this.dataGridVi
2014-10-13 11:35:35 5860
转载 winform 如何获取PB传过来的参数
接收PB传参数的界面static void Main(string[] args){args 是一个数组,包含你PB开发的外壳程序传过来的参数args[0] args[1]....}
2014-10-10 15:58:30 927
转载 Server.MapPath() System.Environment.CurrentDirectory Application.StartupPath
Server.MapPath() ./当前目录/网站主目录../上层目录~/网站虚拟目录如果当前的网站目录为E:\wwwroot 应用程序虚拟目录为E:\wwwroot\company 浏览的页面路径为E:\wwwroot\company\news\show.asp在show.asp页面中使用Server.MapPath("./") 返回路径为:E:
2014-10-10 14:17:00 659
infoQuery经典打开EXCEL,导出EXCEL工具
2020-10-20
simpleMqTest.rar
2020-09-17
.NET 框架版本比较
2017-02-23
winrar 好用免费
2016-08-23
jqueryDemo
2011-01-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人