会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
贤人必须成人,成人才能达己.
共同进步
:: ::
博问
::
闪存
::
新随笔
:: :: ::
管理
::
上一页
1
2
3
4
5
下一页
2008年1月31日
datagridview 的属性设置
摘要: //只读属性设置 dgv.ReadOnly = true; //尾行自动追加 dgv.AllowUserToAddRows = false; dgv.AllowUserToDeleteRows...
阅读全文
posted @ 2008-01-31 11:58 adi
阅读(511)
评论(0)
推荐(0)
2008年1月29日
如何去掉datagridview最后一行空行
摘要: AllowUserToAddRows=false;
阅读全文
posted @ 2008-01-29 11:47 adi
阅读(1814)
评论(0)
推荐(0)
遍历DataGridView中CheckBox列的方法
摘要: int count = 0; for (int i = 0; i < this.TableData.Rows.Count; i++) { if (this.TableData.Rows[i].Cells[0].FormattedValue.ToString() == "True") { ...
阅读全文
posted @ 2008-01-29 11:46 adi
阅读(921)
评论(0)
推荐(0)
2008年1月27日
xml的简单操作
摘要: using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Web;using System.Web.Services;using System.Web.Services.Protocols;using System.Xml;namespace WebService...
阅读全文
posted @ 2008-01-27 18:04 adi
阅读(191)
评论(0)
推荐(0)
ado 的几个操作
摘要: public IList GetPlatCount() { IList PlatCount = new List(); string sql = string.Format("select PlatformId ,S_PassIdNum ,E_PassIdNum from PlatformAssign "); D...
阅读全文
posted @ 2008-01-27 17:56 adi
阅读(201)
评论(0)
推荐(0)
datagridvie 当前行
摘要: if (this.dataGridView1.CurrentRow != null && this.dataGridView1.CurrentRow.Cells["Column3"].Value != null) int i = int...
阅读全文
posted @ 2008-01-27 17:54 adi
阅读(144)
评论(0)
推荐(0)
2008年1月13日
text只能输入数字
摘要: if ((e.KeyChar 57) && (e.KeyChar != 8)) e.Handled = true;
阅读全文
posted @ 2008-01-13 21:05 adi
阅读(220)
评论(0)
推荐(0)
2008年1月11日
winform show
摘要: AgentLogin formLogin = new AgentLogin(new CSShell()); if (formLogin.ShowDialog() == DialogResult.OK) { Application.Run(new InfoServerQuery(new CSShell()));
阅读全文
posted @ 2008-01-11 16:45 adi
阅读(146)
评论(0)
推荐(0)
2008年1月2日
MS SQL Server中的CONVERT日期格式化大全
摘要: CONVERT将某种数据类型的表达式显式转换为另一种数据类型。由于某些需求经常用到取日期格式的不同.现以下可在SQL Server中 将日期格式化. SQL Server 支持使用科威特算法的阿拉伯样式中的数据格式。 在表中,左侧的两列表示将 datetime 或 smalldatetime 转换为字符数据的 style 值。给 style 值加 100,可获得包括世纪数位的四位年份 (yyyy...
阅读全文
posted @ 2008-01-02 22:32 adi
阅读(252)
评论(0)
推荐(0)
2007年12月27日
table边框
摘要:
阅读全文
posted @ 2007-12-27 17:08 adi
阅读(242)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页