使用Windows应用程序在datagridview中的静态行 [英] static row in datagridview using windows application

查看:111
本文介绍了使用Windows应用程序在datagridview中的静态行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



使用Windows应用程序开发软件。在那里我使用datagridview显示记录,因为我需要第一行作为静态(即,当升序和降序时,第一行将是相同的地方)并且升序和降序将在第二行中完成。我怎么能这样做,任何人都可以帮助我。

Hi,
Am developing an software using windows application. In that i display the records using datagridview, In that i need the first row as static(i.e, while do ascending and descending the the first will be the same place) and ascending and descending will be done in second row. How can i do that, Can any one help me about this.

推荐答案

你必须自己做一些登录。当调用DataGridView Sorting事件时,您必须在运行时跳过该行。

为此。请点击以下链接。它会对你有所帮助。



http://stackoverflow.com/questions/15781859/disable-sorting-of-one-row-in-datagridview [ ^ ]



问候,

AARIF SHAIKH
You have to do some login yourself. When DataGridView Sorting event called you have to skip that row at runtime.
For this . please follow below link. it will help you.

http://stackoverflow.com/questions/15781859/disable-sorting-of-one-row-in-datagridview[^]

Regards,
AARIF SHAIKH


这篇关于使用Windows应用程序在datagridview中的静态行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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