我用visual studio連MYSQL資料庫時想用textbox打入關鍵字 然後從資料庫的特定table找資料,如果是連sql server照常理語法為 SELECT * FROM BOOK WHERE Bname LIKE @參數名稱(@參數名稱連接到textbox) 但是用MYSQL作卻變成 SELECT * FROM [BOOK] WHERE [Bname] LIKE "%" + ? + "%" 我只知道要把[]刪掉,但之後不管怎麼修都是錯的 請各位大大幫幫忙
目前沒有資料
目前沒有資料
馬上按讚 加入 Yahoo! 奇摩 知識+ 粉絲團
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.