开发者

Why is a DataGridView so row-centric?

Why is there a DataGridViewRow.Cells property, but not a DataGridViewColumn.Cells property?

What's s开发者_运维技巧o important about rows that I'll never want to iterate down a column? I'm not saying that it makes it particularly difficult to do or anything, it just strikes me as oddly asymmetrical.

I'm implementing a "fill down" type behaviour, and it'd be handy is all.


I'd say it's simply a side-effect of the fact that relational databases are also row-centric.


In general terms, DataGridView functions to display attributes (as columns) for a list of like entities (as rows). It is not meant to emulate spreadsheet functionality.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜