摘要:
SqlTransaction trans;trans = con.BeginTransaction();cmd.Transaction = trans;try{ cmd.ExecuteNonQuery(); trans.Commit();}catch(Exception e){ trans.Rollback();}finally { con.Close();}=======... 阅读全文
摘要:
判斷Object對象的數據類型 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> object asFilterValue; //判斷當前Object中的值是否是Stirng型的 ... 阅读全文