当前位置:网站首页>C # database reports errors. Let's have a look
C # database reports errors. Let's have a look
2022-06-23 06:32:00 【CSDN Q & A】
c# Database error
{
string strid2 = Convert.ToString(dataGridView1.CurrentCell.RowIndex); string sql = string.Format(@"update Customer set CustomerCompanyName='{0}',CustomerName='{1}',CustomerTitle='{2}',CustomerAddress='{3}',CustomerPostalcode='{4}',CustomerIphone='{5}',telephone={
6},where CustomerID ='{7}'" , value[1], value[2], value[3], value[4], value[5], value[6], Convert.ToInt32(value[7]), strid2); int n = DBHelper.ExecuteNonQuery(sql); if (n > 0) { MessageBox.Show(" Modification successful "); } else { MessageBox.Show(" Modification failed "); }

I can't see it Can you help me see
边栏推荐
- C语言去除字符串尾部的换行(或其他字符)
- How to batch produce QR codes that can be read online after scanning
- [cocos2d-x] custom ring menu
- Pyinstaller packaging pyttsx3 error
- Day_ 13 smart health project - Chapter 13
- Docker实战 -- 部署Redis集群与部署微服务项目
- Multiple strings for leetcode topic resolution
- Leetcode topic resolution integer to Roman
- 程序员的真实想法 | 每日趣闻
- [vivado] xilinxcedstore introduction
猜你喜欢

又到半年总结时,IT人只想躺平

Day_ 12 smart health project jasperreports

同步开关电源降低EMI布局 dv/dt di/dt

Laravel log channel 分组配置

mysql如何将日期转为数字

(1)基础学习——vim编辑器常用快捷操作命令
![[cocos2d-x] erasable layer:erasablelayer](/img/6e/1ee750854dfbe6a0260ca12a4a5680.png)
[cocos2d-x] erasable layer:erasablelayer

Pyqt5 setting window top left Icon

Gplearn appears assignment destination is read only

In the half year summary, it people just want to lie flat
随机推荐
Tencent security 2021 report white paper collection (download attached)
bootstrap如何清除浮动的样式
Redis sentry
给定二叉树的某个节点,返回该节点的后继节点
Golang regular regexp package use -04- use regular replacement (replaceall(), replaceallliteral(), replaceallfunc())
Remove duplicates from sorted list II of leetcode topic resolution
Day_01 传智健康项目-项目概述和环境搭建
Day_ 07 smart communication health project FreeMarker
mysql以逗号分隔的字段作为查询条件怎么查——find_in_set()函数
golang正则regexp包使用-04-使用正则替换(ReplaceAll(),ReplaceAllLiteral(),ReplaceAllFunc())
How to build a data application system based on overall value for energy enterprises
索引——MySQL
Repeated DNA sequences for leetcode topic resolution
熟练利用切片操作
Introduction to JVM principle
CPU的功能和基本结构
qt creater搭建osgearth环境(osgQT MSVC2017)
Linked Storage
sklearn sklearn中classification_report&精确度/召回率/F1值
[cocos2d-x] custom ring menu