资源简介

DataGridView单元格合并和二维表头

资源截图

代码片段和文件信息

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(“英国“

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

     文件       6817  2016-12-06 10:03  DataGridView单元格合并和二维表头\UpgradeLog.xml

     文件      19968  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\bin\Debug\WindowsApplication15.exe

     文件      46592  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\bin\Debug\WindowsApplication15.pdb

     文件      11608  2016-12-06 15:21  DataGridView单元格合并和二维表头\WindowsApplication15\bin\Debug\WindowsApplication15.vshost.exe

     文件        490  2016-07-16 19:44  DataGridView单元格合并和二维表头\WindowsApplication15\bin\Debug\WindowsApplication15.vshost.exe.manifest

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

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

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

     文件      11555  2016-12-06 15:21  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       5733  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        180  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\RowMergeView.resources

     文件       4608  2016-12-06 10:03  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       2135  2016-12-06 15:21  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\WindowsApplication15.csproj.FileListAbsolute.txt

     文件        774  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\WindowsApplication15.csproj.GenerateResource.Cache

     文件      19968  2016-12-06 15:20  DataGridView单元格合并和二维表头\WindowsApplication15\obj\Debug\WindowsApplication15.exe

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

评论

共有 条评论