The Perfect Day

分享技术,编写未来

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  73 随笔 :: 0 文章 :: 23 评论 :: 0 引用

05 2008 档案

摘要: ValidateDataintheWindowsFormsDataGridViewControlSamples: private void dataGridView1_CellValidating(object sender,DataGridViewCellValidatingEventArgs e){// Validate the CompanyName entry by disallowing...阅读全文
posted @ 2008-05-28 21:29 StephenJu 阅读(688) | 评论 (0) 编辑

摘要: //如果有超过一屏的数据,想通过关键字查找到相关记录,然后再定位之,做法如下://遍历所有行,把某单元格的值和关键字对比,找到后清除所有选择行,然后把当前行设为选择,然后把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) 编辑

posted @ 2008-05-26 15:28 StephenJu 阅读(205) | 评论 (0) 编辑

posted @ 2008-05-26 15:28 StephenJu 阅读(983) | 评论 (0) 编辑

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) 编辑

posted @ 2008-05-26 14:58 StephenJu 阅读(110) | 评论 (0) 编辑

posted @ 2008-05-26 14:54 StephenJu 阅读(105) | 评论 (0) 编辑

posted @ 2008-05-26 14:53 StephenJu 阅读(1579) | 评论 (0) 编辑

posted @ 2008-05-26 14:52 StephenJu 阅读(261) | 评论 (0) 编辑

posted @ 2008-05-26 14:50 StephenJu 阅读(134) | 评论 (0) 编辑

posted @ 2008-05-26 14:49 StephenJu 阅读(196) | 评论 (0) 编辑

posted @ 2008-05-26 14:47 StephenJu 阅读(41) | 评论 (0) 编辑

posted @ 2008-05-26 14:33 StephenJu 阅读(163) | 评论 (0) 编辑

posted @ 2008-05-26 12:44 StephenJu 阅读(35) | 评论 (0) 编辑

posted @ 2008-05-26 12:38 StephenJu 阅读(69) | 评论 (0) 编辑

posted @ 2008-05-26 12:36 StephenJu 阅读(66) | 评论 (0) 编辑

posted @ 2008-05-26 12:32 StephenJu 阅读(40) | 评论 (0) 编辑

posted @ 2008-05-26 12:30 StephenJu 阅读(121) | 评论 (0) 编辑

posted @ 2008-05-26 12:28 StephenJu 阅读(236) | 评论 (0) 编辑

posted @ 2008-05-26 12:23 StephenJu 阅读(533) | 评论 (0) 编辑

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) 编辑

posted @ 2008-05-05 13:24 StephenJu 阅读(1818) | 评论 (1) 编辑