设计中的错误 [英] error in design from

查看:102
本文介绍了设计中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cannot implicitly convert type 'string' to 'System.Windows.Forms.DataGridViewTextBoxColumn'	D:\abc folder\XXX.designer.cs





你可以帮我解决这个错误..



错误显示在下面的行




can u help me how to resolve this error..

the error is showing in the below line

this.Name = "xxx";

推荐答案

尝试:

Try :
this.Name.Text = "xxx";


我遇到了同样的问题并发现了问题。该错误是由名为Name的DataGridView列引起的。将列名称从名称更改为其他修复问题的内容。
I encountered the same issue and found the problem. The error was caused by having a DataGridView column named 'Name'. Changing the column name from 'Name' to something else fixed the problem.


这篇关于设计中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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