从ASP.NET Web浏览器插入/更新错误代码 [英] Insert/update error Code from ASP.NET web browser
本文介绍了从ASP.NET Web浏览器插入/更新错误代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我有此代码,正在尝试使用浏览器更新/插入数据库信息,但出现此错误消息.找不到可安装的ISAM"可能是什么问题?请指教
Dim con As 新 OleDbConnection(WebConfigurationManager.ConnectionStrings(" ).ConnectionString)
con.Open()
Dim 分配 As 新 OleDbCommand
分配连接= con
Allocate.CommandText = " & TxtRegno.Text& ',"& Txtcustomer.Text& " & DDLmake.Text& " & DDLmodel.Text& " ,"& DDLcolor.Text& ,"& DDLType.Text& " & DDLTransmission.Text& " & DDLmileage.Text& " "& DDLYear.文字和" & Txtprice.Text& " & DDLDealer.Text& "
分配.ExecuteNonQuery()
Response.Redirect(" )
解决方案
http://support.microsoft.com/kb/209805 [ ^ ]
http://databases.aspfaq.com/database/how-do-i-solve-could-not-find-installable-isam-errors.html [ http://support.microsoft.com/kb/318161 [ http://p2p. wrox.com/asp-net-1-0-1-1-basics/3168-could-not-find-installable-isam.html [Dim con As New OleDbConnection(WebConfigurationManager.ConnectionStrings("Arnold").ConnectionString) con.Open() Dim Allocate As New OleDbCommand Allocate.Connection = con Allocate.CommandText = "INSERT INTO TradeInCarTBL(RegNumber,Customer,Make,Model,Color,Type,Transmission,Mileage,Year,Price,Dealer) VALUES('" & TxtRegno.Text & "'," & Txtcustomer.Text & "," & DDLmake.Text & "," & DDLmodel.Text & "," & DDLcolor.Text & "," & DDLType.Text & "," & DDLTransmission.Text & "," & DDLmileage.Text & "," & DDLYear.Text & "," & Txtprice.Text & "," & DDLDealer.Text & ")" Allocate.ExecuteNonQuery() Response.Redirect("Login.ASPX")解决方案http://support.microsoft.com/kb/209805[^]
http://databases.aspfaq.com/database/how-do-i-solve-could-not-find-installable-isam-errors.html[^]
http://support.microsoft.com/kb/318161[^]
http://p2p.wrox.com/asp-net-1-0-1-1-basics/3168-could-not-find-installable-isam.html[^]
这篇关于从ASP.NET Web浏览器插入/更新错误代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文