当其他列在Windows窗体DataGridView中排序时,不要对Sl.No列进行排序 [英] Do not sort Sl.No Column when other columns are sorting in windows Form DataGridView
本文介绍了当其他列在Windows窗体DataGridView中排序时,不要对Sl.No列进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当其他列在Windows中排序时,不要对Sl.No列进行排序Form DataGridView
Do not sort Sl.No Column when other columns are sorting in windows Form DataGridView
推荐答案
您可以显示该列的rowindex。
查看这些链接 -
http://stackoverflow.com/a/14915110 [ ^ ]
http://stackoverflow.com/a/9581709 [ ^ ]
https://baidharsh.wordpress.com/2012/01/26/display-row-number-in-winforms-datagridview/ [ ^ ]
希望,它有助于:)
You can show rowindex for that column.
Check these links-
http://stackoverflow.com/a/14915110[^]
http://stackoverflow.com/a/9581709[^]
https://baidharsh.wordpress.com/2012/01/26/display-row-number-in-winforms-datagridview/[^]
Hope, it helps :)
这篇关于当其他列在Windows窗体DataGridView中排序时,不要对Sl.No列进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文