DataGridView显示合计行 包含例子

上传者: spring0906 | 上传时间: 2021-08-04 13:52:12 | 文件大小: 79KB | 文件类型: RAR
实现如何在DataGridView中显示合计,合计行不随滚动条的滚动而变化,始终在DataGridView的可见区域的底部

文件下载

资源详情

[{"title":"( 42 个子文件 79KB ) DataGridView显示合计行 包含例子","children":[{"title":"DataGridView合计","children":[{"title":"使用方法.txt <span style='color:#111;'> 743B </span>","children":null,"spread":false},{"title":"SumDataGridView","children":[{"title":"SumDataGridView.cs <span style='color:#111;'> 6.48KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"SumDataGridView.Designer.cs <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"SumDataGridView.SumDataGridView.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SumDataGridView.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"SumDataGridView.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":[{"title":"SumDataGridView.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"SumDataGridView.csproj.GenerateResource.Cache <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"SumDataGridView.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SumDataGridView.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"SumDataGridView.dll.config <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"SumDataGridView.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SumDataGridView.suo <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"SumDataGridView.csproj <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"SumDataGridView.sln <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"SumDataGridView.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Test","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Test.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"Test.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"Test.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Test.csproj.FileListAbsolute.txt <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"Test.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SumDataGridView.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"Test.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Test.exe <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"Test.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"Test.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"SumDataGridView.pdb <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"Test.csproj <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Student.cs <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • yzypurmaple :
    没有实现想要的效果,但是提供的思路有很好的参考价值
    2020-04-29
  • micsen01 :
    样式不太友好.需要改进
    2015-10-15
  • drj121 :
    是使用两个dataGridView实现的,不怎么方便
    2015-03-24
  • happydog75 :
    可以使用,用在了我的项目里
    2014-11-04
  • u014068308 :
    正在学习,不知道使用
    2014-06-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明