我从数据库表中的textBox获取值并在gridView中显示它,但是这个1字段给出了错误。
textBox
gridView
代码和例外:
您正在尝试在int类型变量中获取字符串值。请改用字符串。或者在这里发布您的代码