zoukankan      html  css  js  c++  java
  • 【Vegas原创】善用try catch

      string strsql = ".......";
                        
    try
                        {
                            DataSet ds 
    = db.GetDataSet(strsql);
                            strText 
    = ds.Tables[0].Rows[0][0].ToString() + "%";
                        }
                        
    catch
                        {
                            strText 
    = "ERROR";
                        }
  • 相关阅读:
    小猪存钱罐
    SSL与HTTPS协议
    KVM之XFS磁盘扩容
    vue学习笔记(一)
    ant打包总结
    github上传代码总结
    java中map遍历的总结
    angularjs初学总结
    angularjs常用指令
    github上传代码总结
  • 原文地址:https://www.cnblogs.com/amadeuslee/p/3744631.html
Copyright © 2011-2022 走看看