摘要: 代码: <asp:GridView ID="gvO" runat="server" AllowPaging="True" AutoGenerateColumns="False" AllowSorting="True" Width="1080px" PageSize="20"> <Columns> <asp:TemplateField HeaderText="工程名称"> <ItemTemplat 阅读全文
posted @ 2013-04-26 14:13 爱智旮旯 阅读(515) 评论(0) 推荐(0) 编辑
摘要: Javascript整理工具,请将下列代码保存为Html格式即可。<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" con 阅读全文
posted @ 2013-04-26 13:55 爱智旮旯 阅读(799) 评论(1) 推荐(0) 编辑
摘要: 提醒功能<div id="header"> <script type="text/javascript"> now = new Date(), hour = now.getHours() if(hour < 6){document.write("尊敬的用户:您来的可真早!")} else if (hour < 8){document.write("尊敬的用户:新的一天开始啦!")} else if (hour < 12){document.write("尊敬的用户 阅读全文
posted @ 2013-04-26 13:31 爱智旮旯 阅读(490) 评论(2) 推荐(0) 编辑
摘要: #region DataTable导出到Excel /// <summary> /// DataTable导出到Excel /// </summary> /// <param name="pData">DataTable</param> /// <param name="pFileName">导出文件名</param> /// <param name="pHeader">导出标题以|分割</param> public static void 阅读全文
posted @ 2013-04-26 13:12 爱智旮旯 阅读(583) 评论(4) 推荐(0) 编辑