摘要:
11213313233363738394041485051525354555657586164677475787980818283后台代码:8485usingSystem;86usingSystem.Collections.Generic;87usingSystem.Linq;88usingSys... 阅读全文
摘要:
1#region保存文件2publicvoidSaveFile(StringBuilderstrHtml)3{4stringtpxxID=Request.QueryString["FBWZID"];5try6{7Model.TP_TPXXmTpxx=cTpxx.GetModel(tpxxID);8s... 阅读全文
摘要:
1272829302、.ashx(一般处理程序文件)的参数接收和处理方法:3132//接收3334publicoverridevoidOnRequest(HttpContextcontext)35{36context.Response.ContentType="text/plain";37strin... 阅读全文
摘要:
FileUpload1 string f = System.AppDomain.CurrentDomain.BaseDirectory.ToString();//获取项目当前目录,也可以使配置文件中自己配置的地址//保存地址string savePath = "\\files\\网站发布\\" + 阅读全文
摘要:
1privatestringGetNum()2{3Randomrd=newRandom();4char[]strRandomList={'0','1','2','3','4','5','6','7','8','9','A',56'B','C','D','E','F','G','H','I', 阅读全文
摘要:
//后台转换引用newtonsoft.json.bllvarobj=Newtonsoft.Json.Linq.JObject.Parse(jsons);//把json格式的字符串转换成json4obj[i].["URL"].ToString();//获取json节点的值JsonSerializers... 阅读全文
摘要:
1//获取当前选择的值278910//下拉框选择改变事件11functionbtnChange(values){12//如果选中的是学生,显示第二个下拉框13if(values=="3"){14document.getElementById('sltXS').style.display='';15}... 阅读全文
摘要:
//根据年级获取班级dataType:'json':在一班处理程序中获取数据时,JSON为string类型 functionbtnGetBJ(njm,bh){$.ajax({cache:false,type:"GET",url:'TPJG.ashx?HandlerType=getbj&njm='+n... 阅读全文