摘要: SqlTransaction trans;trans = con.BeginTransaction();cmd.Transaction = trans;try{ cmd.ExecuteNonQuery(); trans.Commit();}catch(Exception e){ trans.Rollback();}finally { con.Close();}=======... 阅读全文
posted @ 2007-10-12 14:48 RobotTech 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 判斷Object對象的數據類型 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> object asFilterValue; //判斷當前Object中的值是否是Stirng型的 ... 阅读全文
posted @ 2007-10-12 14:37 RobotTech 阅读(440) 评论(0) 推荐(0) 编辑