The Perfect Day
分享技术,编写未来
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
73 随笔 :: 0 文章 :: 23 评论 :: 0 引用
05 2008 档案
datagridview数据验证
摘要: ValidateDataintheWindowsFormsDataGridViewControlSamples: private void dataGridView1_CellValidating(object sender,DataGridViewCellValidatingEventArgs e){// Validate the CompanyName entry by disallowing...
阅读全文
posted @
2008-05-28 21:29
StephenJu 阅读(688) |
评论 (0)
编辑
通过关键字查找到dgv相关记录后定位
摘要: //如果有超过一屏的数据,想通过关键字查找到相关记录,然后再定位之,做法如下://遍历所有行,把某单元格的值和关键字对比,找到后清除所有选择行,然后把当前行设为选择,然后把grid的CurrentCell设置为当前行的某个可见单元格即可,效果就会自动跳到定位好的行上。 string str = textBox1.Text.Trim(); foreach (DataGridViewRow dgvRo...
阅读全文
posted @
2008-05-26 15:33
StephenJu 阅读(139) |
评论 (1)
编辑
禁止一个程序启动多个实例
posted @
2008-05-26 15:31
StephenJu 阅读(169) |
评论 (0)
编辑
将文本文件的内容写进某个表中
posted @
2008-05-26 15:30
StephenJu 阅读(50) |
评论 (0)
编辑
获取Assembly的运行路径
posted @
2008-05-26 15:28
StephenJu 阅读(205) |
评论 (0)
编辑
获取ArrayList中的数据(foreach)
posted @
2008-05-26 15:28
StephenJu 阅读(983) |
评论 (0)
编辑
关于DataTable里大批量查找的更快速的方法
posted @
2008-05-26 15:25
StephenJu 阅读(415) |
评论 (0)
编辑
抽象类
posted @
2008-05-26 15:18
StephenJu 阅读(65) |
评论 (0)
编辑
IO
posted @
2008-05-26 15:09
StephenJu 阅读(45) |
评论 (0)
编辑
DynamicCreateMenu
posted @
2008-05-26 14:58
StephenJu 阅读(110) |
评论 (0)
编辑
DataTable的简单方法
posted @
2008-05-26 14:54
StephenJu 阅读(105) |
评论 (0)
编辑
给datagridview某行赋值
posted @
2008-05-26 14:53
StephenJu 阅读(1579) |
评论 (0)
编辑
datagridview某列编辑时显示为大写
posted @
2008-05-26 14:52
StephenJu 阅读(261) |
评论 (0)
编辑
C# 类型转换
posted @
2008-05-26 14:50
StephenJu 阅读(134) |
评论 (0)
编辑
构造函数;析构函数;垃圾回收器;非托管资源;托管资源;
posted @
2008-05-26 14:49
StephenJu 阅读(196) |
评论 (0)
编辑
C#日期函数所有样式大全
posted @
2008-05-26 14:47
StephenJu 阅读(41) |
评论 (0)
编辑
简单的用户自定义控件
posted @
2008-05-26 14:33
StephenJu 阅读(163) |
评论 (0)
编辑
ExcelToSQLServer2000
posted @
2008-05-26 12:44
StephenJu 阅读(35) |
评论 (0)
编辑
字符串常用操作
posted @
2008-05-26 12:38
StephenJu 阅读(69) |
评论 (0)
编辑
sql多条件查询procedure
posted @
2008-05-26 12:36
StephenJu 阅读(66) |
评论 (0)
编辑
几个常用的sql server系统表的使用
posted @
2008-05-26 12:32
StephenJu 阅读(40) |
评论 (0)
编辑
C#静态构造函数
posted @
2008-05-26 12:30
StephenJu 阅读(121) |
评论 (0)
编辑
call存储过程(有返回值)
posted @
2008-05-26 12:28
StephenJu 阅读(236) |
评论 (0)
编辑
方法参数:值参数、引用参数、输出参数
posted @
2008-05-26 12:23
StephenJu 阅读(533) |
评论 (0)
编辑
==与Equals
posted @
2008-05-26 01:13
StephenJu 阅读(304) |
评论 (0)
编辑
抽象方法和虚方法的区别[引用]
posted @
2008-05-06 12:00
StephenJu 阅读(32) |
评论 (0)
编辑
接口[引用]
posted @
2008-05-06 11:58
StephenJu 阅读(194) |
评论 (0)
编辑
datagridview导出Excel(以流的方式)
posted @
2008-05-05 13:24
StephenJu 阅读(1818) |
评论 (1)
编辑
<
2008年5月
>
日
一
二
三
四
五
六
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
公告
Dreams will keep me young
----------------------------------
『网名』:Perfect
『MSN』:
stephen.ju@hotmail.com
昵称:
StephenJu
园龄:
5年4个月
粉丝:
1
关注:
4
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
[A] C#基础(20)
(rss)
[B] WinForm开发(C#)(40)
(rss)
[C] ASP.NET(C#)
(rss)
[D] SQL Server2000(13)
(rss)
[E] CrystalRePort(C#)(2)
(rss)
[F] RDLC报表(C#)
(rss)
[G] WebService
(rss)
[H] 多线程(C#)
(rss)
[I] 图形图像开发(C#)
(rss)
[J]WCF
(rss)
[K]WPF
(rss)
[L]Linq
(rss)
随笔档案
2010年3月 (1)
2009年9月 (3)
2009年1月 (1)
2008年12月 (2)
2008年6月 (2)
2008年5月 (28)
2008年4月 (2)
2008年2月 (1)
2007年11月 (5)
2007年8月 (2)
2007年4月 (1)
2007年1月 (1)
2006年12月 (9)
2006年11月 (11)
2006年9月 (4)
最新评论
阅读排行榜
评论排行榜
推荐排行榜