上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 57 下一页
摘要: js代码: //$(document).click(function (e) { // 在页面任意位置点击而触发此事件 // var select = ""; // var ... 阅读全文
posted @ 2015-08-07 11:06 洛晨随风 阅读(1693) 评论(0) 推荐(0) 编辑
摘要: 前台: 后台: [WebMethod] //[AjaxMethod] public static string GetAddress() { string Address = "hello word"; ... 阅读全文
posted @ 2015-07-28 15:32 洛晨随风 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 方法一:function createXMLHTTPRequest() { //1.创建XMLHttpRequest对象 //这是XMLHttpReuquest对象无部使用中最复杂的一步 /... 阅读全文
posted @ 2015-07-24 17:31 洛晨随风 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 使用json不仅可以这么写,{"ARCHIVAL_CODE":"String","TDQLR":"String"}还可以这么写:{ "RETENTION_PERIOD": [ { "id": "永久", "text": "永久" ... 阅读全文
posted @ 2015-07-07 15:34 洛晨随风 阅读(225) 评论(0) 推荐(0) 编辑
摘要: //Load Document Document document = new Document(@"C:\Users\Administrator\Desktop\人事---新员工转正总结(1) - 副本.doc"); //Conve... 阅读全文
posted @ 2015-07-03 09:56 洛晨随风 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 原型: private List> lstData = new List>();集合添加数据,重复的自动去掉for (int i = 0; i dicData = new Dictionary(); dicData.Add(this.listView.Item... 阅读全文
posted @ 2015-06-29 15:49 洛晨随风 阅读(144) 评论(0) 推荐(0) 编辑
摘要: frm.Top = (this.panelListView.Height - frm.Height) / 2; frm.Left = (this.panelListView.Width - frm.Width) / 2;设置两个值,top和left,公式:用父... 阅读全文
posted @ 2015-06-26 09:17 洛晨随风 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 具有功能的实现方法,这个方法是一个吧数据插入到数据库然后再插入到listview的方法,使用for循环不断的调用这个方法进行插入: /// /// 获得Excel的名称和代号 /// private void GetData(string name, s... 阅读全文
posted @ 2015-06-25 17:12 洛晨随风 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 后台:context.Response.ContentType = "application/json"; //context.Response.ContentType = "text/plain"; string... 阅读全文
posted @ 2015-06-23 18:56 洛晨随风 阅读(147) 评论(0) 推荐(0) 编辑
摘要: //填充datagridview dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; 阅读全文
posted @ 2015-06-17 15:04 洛晨随风 阅读(778) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 57 下一页