
.NET
davi_liang
这个作者很懒,什么都没留下…
展开
-
【第6章-数组和集合】拆分一个二维数组
static void Main(string[] args){ int[,] arr = new int[2,3] { {1,3,5}, {2,4,6} }; int[] arr2 = new int[3]; int[] arr3 = new int[3]; for(int i = 0; i < 2; i++) { for(int j = 0; j < 3; j++) { switch(i) {.原创 2022-04-27 16:09:46 · 324 阅读 · 0 评论 -
c# .net 后台js 实现退出弹出框,含确定、取消操作
this.ClientScript.RegisterStartupScript(this.GetType(), "", "<script language=javascript>function quit_confirm(){event.returnValue = confirm('确定退出吗?');};if(quit_confirm()){window.location.href='../index.aspx';}else{window.location.href=window.locatio原创 2020-11-10 15:10:09 · 405 阅读 · 0 评论