DataGridView HEADER文本更改 [英] DataGridView HEADER Text Change
问题描述
嗨..
我正在使用两个表
我想要显示DataGridView标题...表数据+数据库字段..
例如:
表1
Regno名称栏目(本数据库字段)
表2
类费用类型
I JAN
I FEB
I MAR
表2费用类型数据想显示给DGV标题。假设我在数据库中添加更多月份(就像我APR)意味着我也希望显示给DGV ..
我想要DGV HEADER TEXT显示如此
Regno名称JAN FEB MAR部分
请告诉我如何做到这一点
Hi..
I am Using Two Table
I want Show DataGridView Header..Table Data + Database Field..
For Example:
Table1
Regno Name Section (This Database Field)
Table2
Class FeeType
I JAN
I FEB
I MAR
Table 2 FeeType Data Want To Display To DGV Header.Suppose I add More Month(Like I APR)in Database means that also i want Display to DGV..
I WANT DGV HEADER TEXT DISPLAY LIKE THIS
Regno Name JAN FEB MAR Section
Please tell me How to DO this
推荐答案
只需右键单击您的DGV,然后单击编辑列并更改标题文本。
获取更多此类提示和技巧只需访问。 www.ram-a-singh.blogspot.com
just right click on your DGV and then click on click on edit column and change the header Text.
for more such tips and trick just visit. www.ram-a-singh.blogspot.com
这篇关于DataGridView HEADER文本更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!