如何在windows应用程序中使用csharp在datagridview中看到第一行false [英] how to visible first row false in datagridview using csharp in windows application

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

问题描述

注意它是windows应用程序。



在输出datagridview中如下;





SNO Fac_Code Course_Code

1 SJ REO

2 VB PH1

3 GS PH2

4 MJ TCF

5 RK CTF

6 VR MFA

7 CM EFA





i希望在datagridview中显示整个ROW SNO。我怎样才能使用c sharp。





我想在datagridview中输出如下。



Fac_Code Course_Code

SJ REO

VB PH1

GS PH2

MJ TCF < br $>
RK CTF

VR MFA

CM EFA





如何在datagridview中获得上述输出。



请帮助我。



注意它是Windows应用程序。



谢谢和问候,

Narasiman P.

Note it is windows application.

In ouput datagridview as follows;


SNO Fac_Code Course_Code
1 SJ REO
2 VB PH1
3 GS PH2
4 MJ TCF
5 RK CTF
6 VR MFA
7 CM EFA


i want to visible false the entire ROW SNO in datagridview. how can i do using c sharp.


I want the Output as follows in datagridview.

Fac_Code Course_Code
SJ REO
VB PH1
GS PH2
MJ TCF
RK CTF
VR MFA
CM EFA


how can i get the above output in datagridview.

Please help me.

Note it is windows application.

Thanks & Regards,
Narasiman P.

推荐答案





隐藏专栏有什么问题或困难。简单地说,你可以使用如下。

Hi,

What is the issue or difficulty in hiding the column. simply, you can use like below.
datagridview1.Columns[0].visible = false;






or

datagridview1.Columns["SNO"].visible = false;



参考此 [ ^ ]



希望它有帮助


refer this[^]

hope it helps


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

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