System.Data.dll中出现'System.Data.SqlClient.SqlException'类型的异常

时间:2015-10-26 08:55:56

标签: c# sql-server ado.net

请帮助func Popular(){ let circle = Pop;//Pop is a UIView circle.bounds = CGRect(x: 0,y: 0, width: 100, height: 100); circle.frame = CGRectMake(0,0, 100, 100); circle.layoutIfNeeded() var progressCircle = CAShapeLayer(); let centerPoint = CGPoint (x: circle.bounds.width / 2, y: circle.bounds.width / 2); let circleRadius : CGFloat = circle.bounds.width / 2 * 0.83; let circlePath = UIBezierPath(arcCenter: centerPoint, radius: circleRadius, startAngle: CGFloat(-0.5 * M_PI), endAngle: CGFloat(1.5 * M_PI), clockwise: true ); progressCircle = CAShapeLayer (); progressCircle.path = circlePath.CGPath; progressCircle.strokeColor = UIColor.greenColor().CGColor; progressCircle.fillColor = UIColor.clearColor().CGColor; UIView.animateWithDuration(3.0, delay: 1.0, options: [], animations: { progressCircle.lineWidth = 5.0; progressCircle.strokeStart = 0; progressCircle.strokeEnd = 0.20; circle.layer.addSublayer(progressCircle); circle progressCircle.strokeEnd = 0.2; }, completion: { finished in print("Picutre done") }) } 抛出此错误:

  

System.Data.dll中出现未处理的“System.Data.SqlClient.SqlException”类型异常

我该如何解决这个问题?

代码:

cmd.ExecuteNonQuery();

0 个答案:

没有答案