C#语句对Access中数据更新问题――Update语法错误
2024-08-26 00:30:01
所有字段最好都用[] 括起来:
string sqlUpdate = "update UserInfo set [password] = '" + pass + "',[email] = '" + txt_email.Text + "',[realName] = '" + txt_realName.Text + "',[phone] = '" + txt_phone.Text + "' where [username] = '" + name + "';";
最新文章
- jQuery 2.0.3 源码分析 数据缓存
- B:Wordpress不同分类调用不同的模板
- 第一个C语言程序
- HTML5列表、块和布局
- 如何解决grails2.3.2中不能运行fork模式
- Bzoj 2186: [Sdoi2008]沙拉公主的困惑 乘法逆元,线性筛,欧拉函数,数论
- ural1018(树形dp)
- Ubuntu 14.4 使用中遇到的问题汇总
- jquery实现上下滑动选择
- 20165306 Exp4 恶意代码分析
- PHP对接淘宝客api完成APP引流优惠券
- netbeans连接数据库SQLserver2008
- 1209 -The MySQL server is running with the --read-only option
- 理解JVM模型
- 【入门详解】MyBatis入门基础详解
- Android 动画fillAfter和fillBefore
- MySQL配置和启动
- JS与原生OC/Swift相互调用总结
- HihoCoder - 1636 Pangu and Stones(区间DP)
- lamp环境的搭建和配置
热门文章
- Spring学习和应用
- BZOJ 3796 Mushroom追妹纸 哈希+二分(+KMP)
- Django组件-cookie,session
- LCS(Longest Common Subsequence)
- Unity UGUI暂停按钮切换图片代码
- Python3基础(4)匿名函数、装饰器、生成器、迭代器、内置函数、json&;pickle序列化、软件目录开发规范、不同目录间模块调用
- base、self标签
- 【web】movie review——静态页面训练、css训练
- spring mvc <;mvc;resources>;
- spring-framework-3.0.2RELEASE之后为啥没有依赖包了?