![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c#编程
shen_xy
都是好春光
展开
-
submit和button组件的区别
.net中,查询按钮的 type = "button" 和 type = "submit"不同,submit为提交到对应cs页面,button只是简单的创建对应点击事件即可。原创 2018-01-17 15:00:21 · 256 阅读 · 0 评论 -
Break和Continue
break 语句用于跳出循环。 continue 用于跳过循环中的一个迭代。 Break: for (i=0;i<10;i++) { if (i==3) { break; } x=x + "The number is " + i + ""; } 结果: The number is 0The number is 1The原创 2018-01-17 15:09:53 · 137 阅读 · 0 评论