• 大小: 0.03M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 二维表头  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication15
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.CancelButton = this.button1;
            DataTable dt = new DataTable();
            dt.Columns.Add(“1“);
            dt.Columns.Add(“2“);
            dt.Columns.Add(“3“);
            dt.Columns.Add(“4“);
            dt.Rows.Add(“中国“ “上海“ “5000“ “7000“);
            dt.Rows.Add(“中国“ “北京“ “3000“ “5600“);
            dt.Rows.Add(“美国“ “纽约“ “6000“ “8600“);
            dt.Rows.Add(“美国“ “华劢顿“ “8000“ “9000“);
            dt.Rows.Add(“英国“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        949  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15.sln

    ..A..H.     14848  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15.suo

     文件      32768  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\bin\Debug\WindowsApplication15.exe

     文件       1356  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Form1.cs

     文件       7445  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Form1.Designer.cs

     文件       7008  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Form1.resx

     文件        481  2008-12-08 09:22  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Program.cs

     文件       1212  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties\AssemblyInfo.cs

     文件       2895  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties\Resources.Designer.cs

     文件       5612  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties\Resources.resx

     文件       1104  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties\Settings.Designer.cs

     文件        249  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties\Settings.settings

     文件      16190  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\RowMergeView.cs

     文件       1585  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\RowMergeView.designer.cs

     文件       6189  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\RowMergeView.resx

     文件       3626  2008-12-08 09:14  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\WindowsApplication15.csproj

     目录          0  2008-12-08 09:05  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\bin\Debug

     目录          0  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\bin

     目录          0  2008-12-08 09:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\Properties

     目录          0  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15

     目录          0  2009-03-20 15:11  DataGridView单元格合并和二维表头\WindowsApplication15

     目录          0  2009-03-20 15:11  DataGridView单元格合并和二维表头

----------- ---------  ---------- -----  ----

               103517                    22


评论

共有 条评论