当内容更多时,如何仅在项目模板中显示单行int [英] How to show only single line int the item template when content is more

查看:59
本文介绍了当内容更多时,如何仅在项目模板中显示单行int的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用网格视图绑定数据,列注释和地址中的两个具有更多内容,我需要隐藏部分内容,并且只想显示单行.

I am using grid view to bind data, two of the column note and address having more content, i need to hide part of content and wants to show only single line.

推荐答案

您要隐藏列吗?如果是,请使用
Is it you want to hide columns? If yes, use
datagridviewRow1.Columns[Column_Index].Visible = false;


这篇关于当内容更多时,如何仅在项目模板中显示单行int的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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