07 2015 档案

jquery页面初始化控件时间
摘要:this.InitControlTime = function () { if ($("#txt_Id_").val() == "") { var today = new Date(); $("#form1").find(".d... 阅读全文

posted @ 2015-07-28 17:38 听哥哥的话 阅读(277) 评论(0) 推荐(0)

后台注册js代码的方法
摘要:Page.ClientScript.RegisterClientScriptBlock(JSUtil.CurrentPage.GetType(), Util.NewGuid(), @""); 阅读全文

posted @ 2015-07-28 12:11 听哥哥的话 阅读(253) 评论(0) 推荐(0)

easyui页签更新
摘要:1.首先引入这个js文件我直接贴js源码/*Author:张浩华Date:2011.12.27 1:18*//* 打开一个标签 */function OpenTab(title, url, icon){ /** 如果这个标题的标签存在,则选择该标签 否则添加一个标签到标签组 */ if($("#ta... 阅读全文

posted @ 2015-07-27 10:56 听哥哥的话 阅读(340) 评论(0) 推荐(0)

导入excel精华版
摘要://须引入 NPOI, NPOI.OOXML, NPOI.Openxml4Net, NPOI.OpenxmlFormats等程序集 自己去下载吧 NPOI组件很好用不可能下不到自己去吧,通常去百度网盘搜索引擎就有很多了1添加ImportExcelHelper,ExcelDataMap,DataTyp... 阅读全文

posted @ 2015-07-24 01:45 听哥哥的话 阅读(275) 评论(0) 推荐(0)

easyui 获取当前页签选中的名称
摘要:parent.parent.$("#tabs").tabs('getSelected').panel('options').title == "收藏夹管理" 阅读全文

posted @ 2015-07-23 14:31 听哥哥的话 阅读(592) 评论(0) 推荐(0)

后台代码获取窗口大小
摘要:if (Request["_method"] == "queryScreenSize") { string h = SystemInformation.WorkingArea.Height.ToString(); ... 阅读全文

posted @ 2015-07-23 10:43 听哥哥的话 阅读(191) 评论(0) 推荐(0)

绑定下拉框
摘要:"> 保存 关闭 设置为默认配置 ... 阅读全文

posted @ 2015-07-21 22:28 听哥哥的话 阅读(399) 评论(0) 推荐(0)

解决URL参数中文乱码
摘要:string key = HttpUtility.UrlDecode(Request["key"], Encoding.UTF8); 阅读全文

posted @ 2015-07-18 18:18 听哥哥的话 阅读(239) 评论(0) 推荐(0)

html 图片拖动不出来的脚本
摘要:function imgdragstart() { return false; }$(function(){ for (i in document.images) document.images[i].ondragstart = imgdragstart; }); 阅读全文

posted @ 2015-07-16 17:18 听哥哥的话 阅读(236) 评论(0) 推荐(0)

往数据库添加的时候(只添加以前未添加的记录的写法)c#
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ publi... 阅读全文

posted @ 2015-07-11 11:40 听哥哥的话 阅读(282) 评论(0) 推荐(0)

前台的json数组转化为List<T>集合
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.Runtime.Serialization.Json;using Syste... 阅读全文

posted @ 2015-07-09 17:40 听哥哥的话 阅读(2345) 评论(0) 推荐(0)

web桌面
摘要:http://www.pengyaou.com/LegendsZ/eg/WebWindowSystem/ 阅读全文

posted @ 2015-07-07 22:47 听哥哥的话 阅读(113) 评论(0) 推荐(0)

easyui combogrid 下拉框 智能输入
摘要:1. 后台代码using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Web;using Contrac... 阅读全文

posted @ 2015-07-07 18:09 听哥哥的话 阅读(1363) 评论(0) 推荐(0)

sql分组获取第一条记录(sql+oracle)
摘要:sql版本select * from (select t.CloseDate,t.ExpiryDate,t.DataTypeLookupID,ROW_NUMBER() over(partition by CloseDate,ExpiryDate,DataTypeLookupID order by C... 阅读全文

posted @ 2015-07-02 23:53 听哥哥的话 阅读(499) 评论(0) 推荐(0)

Siverlight MarkerSize 控制数据点半径大小 LineThickness 控制点与点之间直线的厚度
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using WebApp.Comm... 阅读全文

posted @ 2015-07-02 11:20 听哥哥的话 阅读(369) 评论(0) 推荐(0)

hra控件自动绑定
摘要:1.前台js代码$.ajax({ type: "post", url: 'AlmMarketScenarioDetailManage.aspx?_method=queryPanel&sernarioId='+senarioId, ... 阅读全文

posted @ 2015-07-01 10:29 听哥哥的话 阅读(251) 评论(0) 推荐(0)

导航