当前位置:网站首页>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
边栏推荐
- 【Leetcode】431. Encode N-ary Tree to Binary Tree(困难)
- Leetcode topic resolution integer to Roman
- Wechat tried out the 1065 working system, and was forced to leave work at 18:00; It is said that Apple will no longer develop off screen fingerprint identification; Amd chief independent GPU architect
- Possible pits in mongodb project
- There are so many code comments! I laughed
- Redis sentry
- I heard you want to embed ppt on WordPress website?
- [DaVinci developer topic] -41-app how SWC reads and writes NVM block data
- Day_12 传智健康项目-JasperReports
- Leetcode topic resolution valid Sudoku
猜你喜欢

Machine learning 3-ridge regression, Lasso, variable selection technique

微软面试题:打印折纸的折痕

How to query fields separated by commas in MySQL as query criteria - find_ in_ Set() function

Introduction to JVM principle

【Leetcode】431. Encode N-ary Tree to Binary Tree(困难)

Day_ 13 smart health project - Chapter 13

qt creater搭建osgearth环境(osgQT MSVC2017)

Day_04 傳智健康項目-預約管理-套餐管理

mysql如何将日期转为数字

Gplearn appears assignment destination is read only
随机推荐
Tencent security 2021 report white paper collection (download attached)
mysql以逗号分隔的字段作为查询条件怎么查——find_in_set()函数
Word pattern for leetcode topic analysis
[DaVinci developer topic] -41-app how SWC reads and writes NVM block data
Ansible uses ordinary users to manage the controlled end
Day_07 传智健康项目-Freemarker
Day_04 传智健康项目-预约管理-套餐管理
Infotnews | which Postcard will you receive from the universe?
Redis sentry
Link of Baidu URL parameter? Research on URL parameter encryption and decryption (code example)
射频基础理论(dB)
[cocos2d-x] erasable layer:erasablelayer
Day_ 04 smart health project - appointment management - package management
Day_ 06 smart health project - mobile terminal development - physical examination appointment
Golang regular regexp package use -04- use regular replacement (replaceall(), replaceallliteral(), replaceallfunc())
Docker实战 -- 部署Redis集群与部署微服务项目
Repeated DNA sequences for leetcode topic resolution
WordPress contact form entries cross cross site scripting attack
Gplearn appears assignment destination is read only
Pyqt5 setting window top left Icon