开发者

How Sort Datagridview? [duplicate]

This question already has answers here: Closed 10 years ago.

Possible Duplicate:

DataGridView Sort Programmitically

How Sort Datagridview开发者_运维百科 ?


Oh, if only there was a DataGridView.Sort method. If only.


You need to handle the OnSorting event in your gridview.

This MSDN Article explains it fairly well: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.sorting.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜