开发者

C# Dataset usage necessary before passing to GridView datasource?

Scenario

Lets say for example I have a series of events that fire continually every half second presenting me with an object containing some bits of information. There are always between 10 and 15 objects that are being updated constantly. Since these bits of information are changing continually I want to display them in a GridView. When I do so, I want the user to see the data displayed in the gridview and actually be updated as opposed to just a continually extending list being printed and incrementing (like writeline on the console).

Q开发者_高级运维uestion

Is the best way to achieve this to map my objects to a dataset and have the dataset mapped to the gridview?

Thoughts

Will this allow the gridview to just be "UPDATED" as opposed to being added to?

Any implementation suggestions would be greatly appreciated.

EDIT:

it MUST be windows forms (I use DevExpress too)


Do you need the DataSet for something else than the GridView? Fo GridView you can use a BindingList<T> it is better for displayint objects in grid-like controls.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜