上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

2010年6月30日

摘要: 1.常用函数function(evt) { var e = (evt) ? evt : window.event; if (window.event) { e.cancelBubble = true; } else { e.stopPropagation(); }阻止事件function(ele, e, call) { if (window.addEventListener) ele.addEventListener(e, call, false); else ele.attachEvent("on" + e, call); }添加事件$("#addClassName").keydown(fu 阅读全文
posted @ 2010-06-30 16:55 jianshaohui 阅读(211) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Data.SqlClient;using System.IO;using System.Windows.Forms;namespace BuilderEntity{ public partial class Build : Form { public Build( ) { InitializeComponent... 阅读全文
posted @ 2010-06-30 11:55 jianshaohui 阅读(186) 评论(0) 推荐(0) 编辑

2010年6月29日

摘要: 1.表变量DECLARE @indextable table(uid int identity(1,1),id int)2.临时表CREATE Table#temptable (id int,date datetime)当数据量大时,建议使用临时表!放一个存储过程@变量(包括表变量)在where 里都变成变量,所以,在where用到表变量就得 加多一个别名,如:(select c_name fro... 阅读全文
posted @ 2010-06-29 13:49 jianshaohui 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1./// <summary> /// 过滤不安全的字符串 /// </summary> /// <param name="Str"></param> /// <returns></returns> public static string FilteSQLStr(string Str) { Str = Str.Replace... 阅读全文
posted @ 2010-06-29 11:54 jianshaohui 阅读(5966) 评论(0) 推荐(0) 编辑
摘要: $("#addClassName").keydown(function(e) { if (e.keyCode == 13) { e.stopPropagation(); //阻止事件冒泡 e.preventDefault(); } }).keyup(function(e) { if (e.keyCode == 13) { $("#addClassBtn").click(); } }); 阅读全文
posted @ 2010-06-29 10:35 jianshaohui 阅读(182) 评论(0) 推荐(0) 编辑

2010年6月23日

摘要: <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/User.Master" Inherits="System.Web.Mvc.ViewPage<AqiooViewModelItem<Aqioo.Modules.Consult.ViewModels.PubArticleModel>>" %>... 阅读全文
posted @ 2010-06-23 17:23 jianshaohui 阅读(438) 评论(0) 推荐(0) 编辑

2010年6月20日

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Pages_Module_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR... 阅读全文
posted @ 2010-06-20 01:32 jianshaohui 阅读(159) 评论(0) 推荐(0) 编辑
摘要: var cssText = ”font-weight:bold;color:red;”//下面写法用于firefox类型浏览器element.setAttribute(“style”,cssText);//下面写法用于IE类型浏览器element.style.cssText = cssText;<scriptlanguage="JavaScri... 阅读全文
posted @ 2010-06-20 00:46 jianshaohui 阅读(12728) 评论(1) 推荐(0) 编辑

2010年6月19日

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="E6-19.aspx.cs" Inherits="Pages_Feditor_E6_19" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh... 阅读全文
posted @ 2010-06-19 16:23 jianshaohui 阅读(339) 评论(0) 推荐(0) 编辑
摘要: FCKeditor在Asp.Net中的配置 开发WEB多年,在使用的在线编辑器中,FCKeditor是我用过最爽的,也是目前互联网上最好的编辑器,功能强大,支持多种浏览器,无平台限制,可以和多种WEB语言融合,多语言支持,而且还支持开源!^-^它是如此强大,以至在我使用它时,不是非常容易上手,每次换了新版本后,总是花一些时间来熟悉和配置它,相当的不方便.所以今天写这篇使用文档,方便以后查询.环境以... 阅读全文
posted @ 2010-06-19 15:00 jianshaohui 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

导航