04 2014 档案
摘要:fnCookieCallback:还没有使用过 $(document).ready(function () { $('#example').dataTable({ "fnCookieCallback": function (sName, oData, sExpires, sPa...
阅读全文
摘要:Over the weekend, I was doing some work on the internal CMS we use over at eagleenvision.net and I wanted to scrap my custom table implementation for ...
阅读全文
摘要:1:animate 动画效果 $(function () { $(".sidebar-nav a").mouseover(function () { $(this).animate({ paddingLeft: "+=8px" },200); }); $(".sidebar-nav a").mouseout(function () { $(this)...
阅读全文
摘要:1:background-position 加之前:background: url("../images/nav-bg.png") repeat-y scroll top left #e3e5e7; background-position: initial initial; background-...
阅读全文
摘要:网上的答案都是说swfupload 的upload_url 路径要设置成绝对路径,但是我也设置了,但是还是不行,然后又找了方法,终于找到了,点击这里查看 解决办法: 总结:在webconfig里添加这段代码就ok了,搞了一下午了。注意:那个length要设大点我刚开始设置的时候设为8位,测试不成功,...
阅读全文
摘要:开始时间: 结束时间:
阅读全文
摘要:终于可以使用五笔了,方法就是安装好ibus后要设置首选项,这样在首选项里设置就可以了。
阅读全文
摘要:在远程电脑的地址栏内输入:\\tsclient\盘符 ,就可以打开我的电脑磁盘,写出来,与大家分享,希望有此问题的朋友能用得着。
阅读全文
摘要:首先,先下载smooth task:点击这里下载 下载之后解压缩,里面有个install文件,点击打开: To install plasmoid unpack archive, go to the directory where this INSTALL file is and exe...
阅读全文
摘要:然后,这样使用:$("#cdms").find("option:contains('恒功率放电')").attr('selected', true); 注意:不要使用这种方式(只针对jquery.1.4.2版本)$("#cdms").find("option:[text=’恒功率放电’]").attr('selected', true);
阅读全文
摘要:知识点1:修改密码类 参考:点击这里 Ext.apply(Ext.form.VTypes, { password: function (val, field) { if (field.initialPassField) { var pwd = Ext.g...
阅读全文
摘要:参考:点击这里 妈的,搞了一天了,终于可以了,现在总结下,以防下次再出现这样痛苦的问题了,有两个表:user(用户)和Blog(设置表),它们之间的关系正如我所说的是一对一的关系。现在我们来映射这两个文件: ...
阅读全文
摘要:公司现在在做充电桩项目,其中要显示充电桩的电池充电情况,功能展示的时候要画图,之前做的时候准备使用HightChar来画,但是,hightchar好像没有这样的电池图形,最后,项目经理要我自己通过svg画,所以到网上找了一些网址学习svg,其中就有:点击这里,下面我就粘贴下代码和显示图片效果,希望能够帮助到一些朋友。 这里显示的是js文件: $(function () { var id = getQueryString("id"); QueryData(id); QueryItemData(id);});function QueryData(id) { zwobj....
阅读全文
摘要:修改数据库表名:rename [old-table] to [new-table]; while循环添加测试数据: declare i int:=1; begin while i<=255 loop insert into DATAACQUISITIONITEMS_NEW (zhuan_id,Dtid,Dtdy) values(100010...
阅读全文
摘要:之前做项目的时候要用到上传文件的功能,现在我总结一下,上传文件和删除文件的代码,在以后的使用的过程中也更方便查找。 [HttpPost] public ActionResult EditUser() { var userDal = new UserDal(); const string savePath = "/Images/Avatar/"; const string saveUrl = "/Images/Avatar/"; const string fileTypes = ...
阅读全文
摘要:在下面的示例中,DisplayProducts 方法接收一个数据表,其中包含名为 ProductName一个 DataColumn,提取 ProductName 值,然后输出值。 using System;using System.Data;class Program { public void DisplayProducts(DataTable table) { var productNames = from products in table.AsEnumerable() select products.Field("ProductName"); Console....
阅读全文
摘要:C# DataTable 转 List 方法,网上有好多,之前也收集了,感觉这个也不错,重要是自己要领会这里面的代码含义。接不来我就把代码贴出来分享一下,大家觉得如果不好,请留言我,我来改进。using System;using System.Collections.Generic;using System.Data;using System.Reflection;namespace jdrz.HumanIdentify{ public class Helper { /// /// DataTable 转换为List 集合 /// ...
阅读全文