在C#中,
string sql = "update INVMB Set MB002='"+mb002+"' , MB003='"+mb003+"' WHERE " + keywords;此時mb002 是這樣fong's的,就會出錯,請教該如何處理'符號,謝謝
string sql = "update INVMB Set MB002='"+mb002+"' , MB003='"+mb003+"' WHERE " + keywords;此時mb002 是這樣fong's的,就會出錯,請教該如何處理'符號,謝謝
string sql = "update INVMB Set MB002='"+mb002+"' , MB003='"+mb003+"' WHERE " + keywords;在SQL中两个表一个
SELECT 'FDS''12'
------
FDS'12(所影响的行数为 1 行)