WinForm
dzwqw
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
验证 Windows 窗体 DataGridView 控件中的数据
验证 dlbDataGridView 中的 "dldm" 为能为空 private void dlbDataGridView_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { if (dlbDataGridView.Columns[e.原创 2009-11-20 17:49:00 · 391 阅读 · 0 评论 -
删除 DataTable 中的所有行
for (int i = dtbl.Rows.Count - 1; i >= 0; i--) dtblSell.Rows.RemoveAt(i);原创 2013-07-23 15:49:12 · 596 阅读 · 0 评论 -
Winform rdlc 报表的直接打印
把类 ReportClass 引入项目using System;using System.Collections.Generic;using System.Data;using System.Data.SqlClient;using System.Drawing.Imaging;using System.Drawing.Printing;using System.IO;原创 2013-07-23 15:58:23 · 1799 阅读 · 0 评论 -
WinForm 处理 DataGridView 按钮列
在 DataGridView 中有添加一按钮列:BtnInfo 单击该按钮时显示出所在行的 TariffID private void dgv_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex != -1)原创 2013-07-27 06:04:27 · 526 阅读 · 0 评论
分享