Win API 中 DataGridView 的替代方案 [英] alternative to DataGridView in Win API

查看:38
本文介绍了Win API 中 DataGridView 的替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个博客的网络某处读到一句话,DataGridView 类似于波音 777,但是当我不知道如何飞行时,目标是什么.在我深入创建我的项目之前,我想知道在 C# 中是否有 DataGridView 的替代方案.类似于 WEB api 中的 jQuery.我正在寻找的好处是易于使用,如果它可以是免费软件并且看起来既流畅又现代.

Somewhere on net on one Blog I read a sentence that is "DataGridView something like Boeing 777, but what is goal when I do not know how to fly. Before I goo deep in creating my projects I wanna know is there alternative for DataGridView in C#. Something like jQuery in WEB api. The favors things which I am looking for is that is simple for using, if its posibile to be freeware and looks smoth and modern.

最好的问候佩服

推荐答案

如果您想驾驶一个人穿越城镇,您可以学习驾驶 Piper Cub.如果你想飞过大洋数百人,你需要学习驾驶 777.

If you want to fly one person across town you can learn to fly a Piper Cub. If you want to fly hundreds across an ocean you need to learn to fly a 777.

WinForms 应用程序中显示数据的方式有很多种;哪一个最适合你取决于你想要做什么.如果你想显示一个固定的、不可编辑的、不可滚动的数据列表,你可以使用 DataList;简单而有限.如果要添加滚动,可以将数据输出到滚动文本框.

There are many ways of displaying data in WinForms applications; which one is best for you depends on what you're trying to do. If you want to show a fixed, non-editable, non-scrollable list of data you can use a DataList; simple and limited. If you want to add scrolling you can output the data to a scrolling textbox.

如果您想处理包含多个、可调整大小、可编辑列的多行滚动网格,您需要移至 DataGrid 或 DataGridView.

If you want to handle a scrolling grid of multiple rows with multiple, resizable, editable columns you will need to move to a DataGrid or DataGridView.

DataGridViews 有很多替代品;更简单的控件提供的功能更少,而功能更多的控件则更复杂.

There are many alternatives to DataGridViews; simpler controls provide fewer features and more functional controls are more complex.

这篇关于Win API 中 DataGridView 的替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆