摘要: 访问数据库:View Code using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data 阅读全文
posted @ 2013-03-19 11:35 梅香萦绕,佳人依偎 阅读(611) 评论(0) 推荐(0) 编辑
摘要: RegexHelper.cs/** 1. 功能:操作正则表达式的公共类**/#region 引用命名空间using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;#endregionnamespace Comm{/// <summary>/// 操作正则表达式的公共类/// </summary> public class RegexHelper{#region 验证输入的字符串是否合法/// <summary>/// 阅读全文
posted @ 2013-03-19 11:30 梅香萦绕,佳人依偎 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 后台首页的代码html为:function showChangePasswordWin() {$('#winPassword').window('open');}function changePassword() {var oldPassword = $("#iptOldPassword").val();if (oldPassword == "") {$.messager.alert('提示', '请输入旧密码!');return;}var password = $("#iptPa 阅读全文
posted @ 2013-03-19 11:04 梅香萦绕,佳人依偎 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 5.2 Ajax基础http://book.csdn.net/bookfiles/653/10065320712.shtml在 进行Ajax开发以前,我们必须先对一些基本的知识进行了解。虽然Ajax.NET已经将Ajax实现细节封装起来,并大大简化了我们的操作,但是了解基 本的Ajax实现方式对于帮助我们在开发中能更好理解和实施,以及更有效地优化和排错是至关重要的。此外,虽然我们不必编写具体的Ajax调用代理,但是 在调用代理前获取数据,以及返回数据后怎样使数据能够正确显示,这两部分工作都需要我们具有基本的JavaScript操作DOM模型的能力。接下来我们 将来对这几方面的知识进行讨论。5. 阅读全文
posted @ 2013-03-19 09:47 梅香萦绕,佳人依偎 阅读(139) 评论(0) 推荐(0) 编辑
摘要: View Code /** * @author [sina]zhangping1@ * @version v1.1.3 * Date:2006-9-8 2006-12-15 */if(typeof(sina)!="object"){var sina={}}sina.$=function(objId){if(!objId){throw new Error("sina.$(String objId) Parameter is required!")}if(document.getElementById){return eval('document.g 阅读全文
posted @ 2013-03-18 16:02 梅香萦绕,佳人依偎 阅读(345) 评论(0) 推荐(1) 编辑
摘要: ///兼容ie6,7,8<div class="menu_r" id="liveclock">//div嵌套日期,赋控件id值//js源码<script language="javascript"> function displaytime() { thisdate=new Date() thismonth=thisdate.getMonth() thismonth=thismonth+1 thisday=thisdate.getDate() thisyear=thisdate.getYear() thiswe 阅读全文
posted @ 2013-03-18 15:44 梅香萦绕,佳人依偎 阅读(212) 评论(0) 推荐(0) 编辑