随笔分类 -  DataGridView

摘要:https://blog.csdn.net/update7/article/details/80066231 DataGridView控件是微软预先写好的一个显示数据的控件,功能非常强大,可以显示来自数据库表的数据和XML等其他来源的数据。最近在做一个迷你超市管理系统,要大量用到这个控件。所以花时间 阅读全文
posted @ 2020-04-18 08:25 清语堂 阅读(2371) 评论(0) 推荐(0) 编辑
摘要:DataGridView单元格显示密码 private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { if (e.ColumnIndex == 1) { if (e. 阅读全文
posted @ 2019-12-30 19:42 清语堂 阅读(336) 评论(0) 推荐(0) 编辑
摘要:C# DataTable和DataRelation form2.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawin 阅读全文
posted @ 2019-12-23 16:20 清语堂 阅读(1089) 评论(0) 推荐(0) 编辑
摘要:RowPrePaint事件: private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) { if ("不存在" == this.dataGridView1.Rows[e.RowI 阅读全文
posted @ 2019-12-21 17:24 清语堂 阅读(2002) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示