如何在datagridview单元格中显示字符串值。 [英] how to show string value in datagridview cell.

查看:241
本文介绍了如何在datagridview单元格中显示字符串值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友



这是我刚刚分配给datagridview的单元格的代码。

Hi friends

This is the code i just assign to cell of datagridview.

timetablegrid[column, row].Value = teachername + roono;



这里的Teachername和roono是字符串。它没有显示这个字符串。请告诉我如何在特定单元格中显示该字符串。

谢谢


here teachername and roono is the string. it does not show this string.please tell me how can show that string in particular cell.
Thanks

推荐答案

参见文档 [ ^ ]。


这篇关于如何在datagridview单元格中显示字符串值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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