2015年4月14日
摘要: //根据年级获取班级 function btnGetBJ(njm,bh) { $.ajax({ cache: false, type: "GET", url: 'TPJG.ashx?Han... 阅读全文
posted @ 2015-04-14 16:37 win_your_lo 阅读(279) 评论(0) 推荐(0) 编辑
  2015年4月13日
摘要: //获取当前选择的值//下拉框选择改变事件 function btnChange(values) { //如果选中的是学生,显示第二个下拉框 if (values == "3") { document.getEl... 阅读全文
posted @ 2015-04-13 11:30 win_your_lo 阅读(1960) 评论(0) 推荐(0) 编辑
  2015年4月8日
摘要: 引用newtonsoft.json.bllvar obj = Newtonsoft.Json.Linq.JObject.Parse(jsons);//把json格式的字符串转换成jsonobj["URL"].ToString();//获取json节点的值 阅读全文
posted @ 2015-04-08 14:39 win_your_lo 阅读(275) 评论(0) 推荐(0) 编辑
  2015年4月3日
摘要: private string GetNum() { Random rd = new Random(); char[] strRandomList = { '0', '1', '2', '3', '4', '5', '6', '7', '8',... 阅读全文
posted @ 2015-04-03 11:29 win_your_lo 阅读(938) 评论(0) 推荐(0) 编辑
  2015年3月31日
摘要: string f = System.AppDomain.CurrentDomain.BaseDirectory.ToString();//获取项目当前目录 //保存地址 string savePath = "... 阅读全文
posted @ 2015-03-31 11:48 win_your_lo 阅读(214) 评论(0) 推荐(0) 编辑
  2015年3月27日
摘要: 1、前台调用AJAX方法和返回处理:2、ASHX(一般处理程序文件)的参数接收和处理方法://接收public override void OnRequest(HttpContext context) { context.Response.ContentType ... 阅读全文
posted @ 2015-03-27 09:59 win_your_lo 阅读(225) 评论(0) 推荐(0) 编辑
  2015年3月26日
摘要: #region 保存文件 public void SaveFile(StringBuilder strHtml) { string tpxxID = Request.QueryString["FBWZID"]; try ... 阅读全文
posted @ 2015-03-26 17:00 win_your_lo 阅读(602) 评论(0) 推荐(0) 编辑
  2011年12月1日
摘要: 前台代码: 后台代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Cont... 阅读全文
posted @ 2011-12-01 11:05 win_your_lo 阅读(551) 评论(1) 推荐(1) 编辑