【问题标题】:How to split column header in DataGridView in c# windows application如何在 c# windows 应用程序的 DataGridView 中拆分列标题
【发布时间】:2016-09-13 09:01:34
【问题描述】:

我必须使用存储的表值开发DataGridView 程序。我喜欢使用列标题拆分在组列标题上显示一些指定的列。喜欢

             Monthly Interest
-----------------------------------------
principal Interst  |  Interest  |    EMI 
----------------------------------------- 
                   |            |     

请帮帮我.....

【问题讨论】:

标签: c# sql winforms datagridview


【解决方案1】:

这样的事情可能会奏效:

for (i=0; i <textString.Length; i++){
  if (textString.Length > 1 && textString[i] != null)
      addRow.Cells[i].Value = textString[i];
}

【讨论】:

猜你喜欢
  • 2011-01-07
  • 2013-05-25
  • 1970-01-01
  • 1970-01-01
  • 2023-03-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多