INSERT INTO 语句的语法错误。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: INSERT INTO 语句的语法错误。Source Error:
Line 25:
Line 26: olecommand.commandtext="insert into user(username,passwd,sex,e_mail) values('"& username.text &"'.'"& passwd.text &"'.'"& strtemp &"'.'"& em.text &"')"
Line 27: oledatareader=olecommand.ExecuteReader(红色)(错误)
Line 28:
Line 29: 'response.redirect("list_article.aspx")
到底怎么错了呢
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: INSERT INTO 语句的语法错误。Source Error:
Line 25:
Line 26: olecommand.commandtext="insert into user(username,passwd,sex,e_mail) values('"& username.text &"'.'"& passwd.text &"'.'"& strtemp &"'.'"& em.text &"')"
Line 27: oledatareader=olecommand.ExecuteReader(红色)(错误)
Line 28:
Line 29: 'response.redirect("list_article.aspx")
到底怎么错了呢
解决方案 »
- asp.net上传图片被拒绝
- 本机try catch可以抓到异常,但release后trycatch不起作用了
- 通过web页测试网络带宽和速度的问题。
- ASP.NET程序怎么做成安装包来部署到别的服务器上去?
- 一个读数据库的奇怪问题
- 动态生成表格的问题(如何动态生成控件)
- asp.net中Response.End()是不是停止后面的语句执行。
- 我创建了一个.xsd文件,为什么在制作报表,并添加数据时,能找到.xsd文件,但下面的字段总是找不到,
- 请问如何将int类型转换为string类型
- 为什么我的C# asp.net 应用程序不能调试??
- asp.net中水晶报表导出EXCEL时报错,请大家帮忙看看。
- 服务器内存问题
(SQL语句错误)