在VB.NET中寻找换行符 [英] Looking for newline in VB.NET

查看:108
本文介绍了在VB.NET中寻找换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的大家,

我试过在我的VB.Net应用程序中获取DataGridView Cell中的换行符:

Dear everyone,
I tried this for getting newline in DataGridView Cell in my VB.Net application:

environment.Newline"



但它不起作用。

我试过其他一些方法,但什么都没做。



请帮帮我。(提示没问题)

提前感谢。


But it doesn't work.
I Tried some other ways but nothing is done.

Please help me. ( a hint is okay)
Thank in advance.

推荐答案

我认为您正在寻找这个 [ ^ ]



设置 WrapMode 属性 DataGridViewCellStyle true 应该可以帮助你。
I think you are looking for this[^]

Setting WrapMode property of DataGridViewCellStyle to true should be able to help you out.


这篇关于在VB.NET中寻找换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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