StackTrace,另外一種是try-catch找到錯誤行數,具體如下: 一、error.StackTrace代碼int i = ex.StackTrace.IndexOf("行號"); 二、try-catch代碼try ...
確定! 回上一頁