vb.net - VB.NET 中需要类似 Excel 的网格

标签 vb.net excel gridview

我正在 VB.NET 中设计一个程序,它可以使用类似 Excel 的网格。我希望网格能够处理单元格的合并和取消合并。有建议吗?

最佳答案

这个 Stack Overflow 问题包含一些可能有帮助的答案:

What is the best third-party WinForms grid for .NET?

你可以尝试Syncfusion's grid ,允许单元格合并。

Merged cells allow users to display adjoining cells with like values as a single cell. The merging is dynamic. If a cell's value changes, the grid will automatically adjust the merged cells.

alt text http://www.syncfusion.com/products/Grid/Windows/features/General_Features/images/gridmergedcells.png

或者XtraGrid (DevExpress) :

You can enhance data readability by using the automatic cell merging feature of the XtraGrid. When enabled, neighboring column cells that have identical values are merged into a single cell. If a column is sorted, cell merging has the effect of grouping data - the number of cells within the column will match the number of unique values it holds.

alt text
(来源:devexpress.com)

关于vb.net - VB.NET 中需要类似 Excel 的网格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/621984/

相关文章:

mysql - SQL 查询到 STRING$

asp.net - 类型 'GridView1' 的控件 'GridView' 必须放置在带有 runat=server 的表单标记内。

vb.net - 将 Async CTP Await 与事件一起使用?

excel - 通过数据验证禁止在整个表列中使用前导空格

android - 为什么android GridView项目里面的按钮无法点击?

android - 滚动时GridView的列不是直线

c# - 为什么 C# 在 AppDomain 中调用函数比 VB 快得多

excel - VBA 运行时错误 : save PowerPoint Presentation as PDF

vba - 在用户窗体中使用 TextBox 捕获单元格值

android - 更改 Gridview 的图像