MySqlCommand cmd = new MySqlCommand(sql, conn);. 然後執行指令 int index = cmd.ExecuteNonQuery();. ExecuteNonQuery如果用在新增修改刪除,成功會返回受影響的列數 ...
確定! 回上一頁