引用using Microsoft.Office.Interop.Excel;using System.Reflection;//反射命名空间using System.IO; protected void Button1_Click(object sender, EventArgs e) { ...
分类:
其他好文 时间:
2014-07-16 23:18:29
阅读次数:
149
private void btnPrint_Click(object sender, EventArgs e){ //打印主从表数据 string file = Application.StartupPath @"\MasterDetail.frx"; rptMasterDetail....
分类:
Web程序 时间:
2014-07-16 23:08:30
阅读次数:
750
你是否曾经见过像 $(".cta").click(function(){})这样的JavaScrip代码?或许你还会思考下 $('#X') 是什么,如果看到这些你都觉得摸不着头脑,那请一定要读完这篇文章。如果你觉得上述的代码片段是不能正常工作的,那请先看一些jQuery的代码范例,你会发现链接中的....
分类:
Web程序 时间:
2014-07-10 11:52:20
阅读次数:
248
需求:通过更多按钮来实现搜索条件的收缩和展开。以前没做过类似的需求,自己去京东等各大网站参考了一下,大概明白了思路:通过控制搜索块的高度来隐藏搜索条件 $("span.o-more").bind("click", function () { var $cur = $(this).pa...
分类:
其他好文 时间:
2014-07-07 19:28:07
阅读次数:
248
//给Checkbox提供全选功能$("#checkall").click(function(){ if(this.checked){ $("input[name='checkname[]']").each(function(){ this.checked...
分类:
Web程序 时间:
2014-07-03 11:16:45
阅读次数:
216
$(function () { $("#checkAll").click(function () { $('input[name="infoids[]"]').attr("checked", this.checked); }); var $subBox = $("input[name='infoi....
分类:
其他好文 时间:
2014-06-30 21:37:56
阅读次数:
298
网上有很多是隐藏当前窗体,但是这样占用资源,效果不好,因此改进方法如下:private void button1_Click(object sender,EventArgs e){this.hide();Form1 form=new Form1();form.ShowDialog();this.Di...
Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas...
分类:
其他好文 时间:
2014-06-30 12:05:08
阅读次数:
269
默认情况下,jQuery用$作为自身的快捷方式。如同时导入jQuery和prototype库。一、jQuery库在其他库之后导入1、移交控制权jQuery.noConflict();//将变量$的控制权让渡给prototype.jsjQuery(function(){//使用jQuery jQuery("p").click(function(){ });});$("pp").style.displa..
分类:
Web程序 时间:
2014-06-29 21:46:00
阅读次数:
277
原地址:http://blog.csdn.net/emoonight/article/details/18002913fore you can save or load a Texture, you must make it editable. To do this, click the Textu...
分类:
其他好文 时间:
2014-06-29 19:03:48
阅读次数:
452