1 2 3 4 5 ··· 8 下一页
摘要: Html5的新元素,使得表格的每个文本都是在网页中可编辑的,效果很好,很实用!Chinese Name:moumouBirthday:1931.01.13English Name:momoCareer:SingerOther Name:testRepresentative works:Mr.Nationality:KoreaTeam:KARANation:KoreanConstellation:CapricomKorea:Jeolla view ChauBlood Type:B-type主要就是<table id="edit" Contenteditable=&quo 阅读全文
posted @ 2011-10-03 09:09 brainmao 阅读(1997) 评论(0) 推荐(0) 编辑
摘要: 总感觉js的getElementBy元素的冗长,查得资料如下,大家一起学习JavaScript可以定义$符号函数,简写或书写兼容性更好的代码。代码如下:function $(id){return document.getElementById(id); 上面的关于新版本的浏览器都是没有成绩的,假如运用陈旧的浏览器,可以运用上面的函数代码如下:function $(objectId) { if(document.getElementById && document.getElementById(objectId)) { // W3C DOM return document.get 阅读全文
posted @ 2011-09-28 22:36 brainmao 阅读(2843) 评论(0) 推荐(0) 编辑
摘要: 自从翻译了《解读 HTML5:建议、技巧和技术》,就一直没有时间去看 HTML5 相关的东西。上周一次偶然的工作间隙折腾了下 Cache Manifest 。当时直接拿博客当测试环境,虽然应用起来非常简单,但效果却出奇的好。缓存后的速度,简直是惊人的快。像 Yslow 显示,打开一个缓存过的页面,只要0.729秒,比不缓存的差不多快了10倍,当时就震惊了,想深入了解一下。一、什么是 Cache Manifest话说,作为一个 web 开发相关的人员,都不会少听到、看到 cache 这个词。是的,上面也已经说了,它是一种缓存的机制。它可以通过一个 .manifest 文件来配置需要缓存的或者一定 阅读全文
posted @ 2011-09-27 20:17 brainmao 阅读(19595) 评论(7) 推荐(3) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.IO;using Microsoft.Office.Core;using Microsoft.Office.Interop.Word;namespace contractTest{ class Program { static void Main(string[] args) { Console.WriteLine("Word 2010"); Microsof... 阅读全文
posted @ 2011-09-19 20:38 brainmao 阅读(2518) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.OleDb;using System.Text.RegularExpressions;using System.IO;using NPOI.HSSF;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;namespace LoveKaoExam.Data{ public class 导入Excel { ... 阅读全文
posted @ 2011-09-11 21:31 brainmao 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data.SqlClient; 6 using System.Configuration; 7 using System.Data; 8 9 namespace TestDataGriv 10 { 11 public class sqlCommon 12 { 13 private static SqlConnection con... 阅读全文
posted @ 2011-09-06 15:03 brainmao 阅读(681) 评论(0) 推荐(0) 编辑
摘要: <body> <form id="form1" runat="server"> <div id="container"> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView 阅读全文
posted @ 2011-09-05 09:41 brainmao 阅读(4581) 评论(0) 推荐(0) 编辑
摘要: 鼠标移动到各个选项上实现同一页面的无刷新层次效果,最近网上这种建站效果很多!今日正好项目需要在此一提:主要通过css与jquery控制div层标签实现,细看下面代码中的div层定义如:xfz="1"......dfz="1".....脚本代码: <script type="text/javascript"> function Show_list_div($z, $kk) { for ($i = 1; $i <= $kk; $i++) { $div_name = "tags_content_" + 阅读全文
posted @ 2011-08-25 11:37 brainmao 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 代码:<head runat="server"> <title></title> <style type="text/css"> #Select1 { width: 111px; } #Select2 { width: 116px; } </style> <script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script></head>& 阅读全文
posted @ 2011-08-24 12:50 brainmao 阅读(635) 评论(0) 推荐(0) 编辑
摘要: #region 图片处理 /// <summary> /// 生成缩略图 /// </summary> /// <param name="originalImagePath">源图路径(物理路径)</param> /// <param name="thumbnailPath">缩略图路径(物理路径)</param> /// <param name="width">缩略图宽度</param> /// <param name=" 阅读全文
posted @ 2011-08-22 10:16 brainmao 阅读(1758) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 8 下一页