资源简介


资源截图

代码片段和文件信息

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(“英国“ “伦敦“ “7000“ “8800“);
            this.rowMergeView1.DataSource = dt;
            this.rowMergeView1.ColumnHeadersHeight = 40;
            this.rowMergeView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            this.rowMergeView1.MergeColumnNames.Add(“Column1“);
            this.rowMergeView1.AddSpanHeader(2 2 “XXXX“);
        }

        private void button1_Click(object sender EventArgs e)
        {
            this.Close();
        }
    }
}

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

     文件        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

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

     文件       5632  2005-11-11 22:25  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\bin\Debug\WindowsApplication15.vshost.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

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

     文件        907  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\obj\Debug\WindowsApplication15.csproj.GenerateResource.Cache

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

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

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

     文件        180  2008-12-08 09:04  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\obj\Debug\WindowsApplication15.Properties.Resources.resources

     文件        393  2008-12-08 09:23  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\obj\WindowsApplication15.csproj.FileList.txt

     文件        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:03  DataGridView单元格合并和二维表头\WindowsApplication15\WindowsApplication15\obj\Debug\TempPE

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

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

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

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

............此处省略7个文件信息

评论

共有 条评论