日期:2014-05-17  浏览次数:20909 次

請各位高手進來幫我解決一個簡單問題。。謝謝
怎樣實現表數據的刪除,修改,查看登功能
        有源程序的發來最好了。。。謝謝。。。


------解决方案--------------------

Set conn = Server.CreateObject( "ADODB.Connection ")
SqlString = "DELETE FROM "
SqlString = SqlString & "T_LA_LOAD_DATABASE "
SqlString = SqlString & "WHERE "
SqlString = SqlString & "UPDATE_USER = "
SqlString = SqlString & " ' "
SqlString = SqlString & XmlUserName
SqlString = SqlString & " ' "

conn.Open "Uid=LADLogin;PWD=LADLogin;DSN=LAD_Datasources_Test "
conn.Execute SqlString

conn.Close
Set conn = Nothing

删除的,其他更新和插入直接改Sql语句就可以了