老大!!!!!
我mysql 很像不能用mysqlhelper
这是我的code
MySqlHelper.ExecuteNonQuery(mysqlconnection, "INSER registerform SET username=' 564654'")
这边是error讲的东西
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSER registerform SET username=' 564654'' at line 1
绿病毒 发表于 2010-5-22 01:09 AM
INSER registerform SET username<<这段是吗
是用 insert into testtable(testname)value("chong") 还是 insert into test table where testname='chong'
绿病毒 发表于 2010-5-22 04:23 AM
insert into set只是mysql的extension, mssql并不支持insert into ... set ... 那怕某天要用mssql时就不 ...
weeming21 发表于 2010-5-23 03:48 AM
说真的, MSSQL 方面, LINQ to sql 不然就是 ADO.net Entity Framework , Strongly typed dataset , ...
宅男-兜着走 发表于 2010-5-23 01:30 PM
Dim strCommand As String
strCommand = "Insert into registerform(id,username,, pas ...
绿病毒 发表于 2010-5-23 09:47 PM
欢迎光临 JBTALKS.CC (https://jbtalks.my/) | Powered by Discuz! X2.5 |