看板 C_Sharp 關於我們 聯絡資訊
有一種東西叫做 try/cacth: try { // your code } catch (Exception ex) { // show your error message from ex.Message // or, handle this error if you want. } 用這個來抓錯誤是什麼。 光看你的說明,很難知道問題在哪裡。 只能初步推斷是 SQL 的例外,有可能是指令不對,或是其他的 SQL Server 問題。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.70.255.10