摘要: /// /// 将一组对象导出成EXCEL /// /// 要导出对象的类型 /// 一组对象 /// 导出后的文件名 /// 列名信息 public static void ExportExcel(List objList, string FileName, Dictionary columnInfo) { if (columnInfo.Count == 0) { return; } if (objList.Count... 阅读全文
posted @ 2013-09-10 14:13 ^_^哈哈 阅读(1691) 评论(0) 推荐(1) 编辑
摘要: 当选项中的两个item,value值相同时,不会触发SelectedIndexChanged事件http://www.cnblogs.com/jeff377/archive/2008/10/30/1323312.html 阅读全文
posted @ 2013-07-25 16:16 ^_^哈哈 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 具有树结构的表datatable生成树结构的json字符串,前台生成树1.实现效果2.代码 public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } [WebMethod] public static string GetJsonTree() { DataTable dtLevels = GetData(); ... 阅读全文
posted @ 2013-07-08 10:18 ^_^哈哈 阅读(870) 评论(0) 推荐(0) 编辑
摘要: 满意 不满意啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 1 <html> 2 <head> 3 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/JavaScript"></script> 4 <script type="text/JavaScript"> 5 $(document).ready(function () 6 { 7 $("#nee 阅读全文
posted @ 2013-05-15 10:11 ^_^哈哈 阅读(3116) 评论(0) 推荐(0) 编辑
摘要: #region File Information /* ----------------------------------------------------------------------* File Name: $safeitemname$* Create Author: $username$ * Create DateTime: $time$ * Description: *----------------------------------------------------------------------*/#endregion以上是示例,C:\Program Files 阅读全文
posted @ 2013-03-14 13:38 ^_^哈哈 阅读(683) 评论(0) 推荐(0) 编辑
摘要: ///clear value in textboxfunction clearControlValueForm() { $(':input:text').not(':button, :submit, :reset, :hidden') .val('').removeAttr('selected').css("border", "");}///validate the empty value in textbox ,if has empty value ,prevent submit$(doc 阅读全文
posted @ 2013-01-31 09:39 ^_^哈哈 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 原帖地址http://blog.sina.com.cn/s/blog_7016da1e0100wr2p.htmlVS2003已经装好,可以开始做了。第一步,做好Xml模板,这个直接在Word中另存为Xml格式就可,这个Xml可用Word打开,也要用记事本打开。第二步,用Word打开Xml模板,在表格中要填数据的地方做好标记,如图所示第三步,读取Xml模板stringmodePath = HttpContext.Current.Server.MapPath("同业对标专家库.xml");XmlDocument xmlDoc = new XmlDocument();xmlDoc 阅读全文
posted @ 2012-12-10 14:55 ^_^哈哈 阅读(956) 评论(0) 推荐(0) 编辑
摘要: http://blogs.msdn.com/b/opal/archive/2010/09/16/ie9-sharepoint-2010-html5.aspxDisclaimer: This is not a supportability claim for using IE9 on SharePoint 2010. Browser support status will be updated here: http://technet.microsoft.com/en-us/library/cc262485.aspx once the testing is done for specific r 阅读全文
posted @ 2012-11-30 15:35 ^_^哈哈 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 原文地址:::http://www.spdeveloper.co.in/tipsntricks/pages/values-for-spsite-spweb-url-properties.aspxThere are some properties for SPSite and SPWeb class using which we can get the URL values for the sites and webs. The two most used of these properties are - 'ServerRelativeUrl' and 'Url' 阅读全文
posted @ 2012-11-16 17:13 ^_^哈哈 阅读(291) 评论(0) 推荐(0) 编辑
摘要: http://webdesignerwall.com/tutorials/css3-media-queries 阅读全文
posted @ 2012-10-19 09:28 ^_^哈哈 阅读(128) 评论(0) 推荐(0) 编辑