上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: using System;using System.Security.Cryptography; using System.Text;using System.IO;/// <summary>/// DES加密/解密类。/// </summary>public class DESEncrypt{ public DESEncrypt() { } #region ========加密======== /// <summary> /// 加密 /// </summary> /// <param name="Text">& 阅读全文
posted @ 2011-08-18 09:06 brainmao 阅读(2867) 评论(0) 推荐(0) 编辑
摘要: 以下代码插件出自天气预报网:效果:代码:<iframe src="http://61.4.185.73/static/modules/life/life_plugin_1.shtml" width="625" height="457" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"> 阅读全文
posted @ 2011-08-17 09:11 brainmao 阅读(763) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace Core.Common.Web{ /// <summary> /// 网站字符串操作类 /// </summary> public static class String { #region 静态方法 /// <summary> /// 左截取 /// </summary> /// <p 阅读全文
posted @ 2011-08-16 10:33 brainmao 阅读(584) 评论(3) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Collections.Specialized;namespace Core.Common.Web{ /// <summary> /// Cookie静态操作类 /// </summary> public static class Cookie { #region 静态方法 /// <summary> /// 创建或修改COOKIE对象并 阅读全文
posted @ 2011-08-13 11:26 brainmao 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> regEvents_searchresult(); function regEvents_searchresult(){ $("div[bustypeid]").each(function () { var thisBusType = this; $(this).find("*[buspara='add']").click(function () { var selectid = $(thisBusType).attr("bustyp 阅读全文
posted @ 2011-08-12 10:19 brainmao 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 网站上用邮件服务进行收发邮件是再正常不过了,实现此功能之一的方法就是调用该类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;using System.Net;namespace Core.Common.Service{ /// <summary> /// 邮件发送 /// </summary> public static class EMail { /// <summary> /// 发送邮件 // 阅读全文
posted @ 2011-08-11 09:28 brainmao 阅读(906) 评论(2) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web.UI;namespace Core.Common.UI{ /// <summary> /// 页面脚本相关的静态操作类 /// </summary> public static class Script { #region 静态方法 /// <summary> /// 在客户端显示弹出对话框 /// </summary> /// <param n 阅读全文
posted @ 2011-08-09 12:02 brainmao 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 摘要:隐藏域不会显示在用户的浏览器中, 一般是在页面中加入一个隐藏控件, 与服务器进行交互时把值赋给隐藏控件并提交给下一页面。隐藏域可以是任何存储在网页中的与网页有关的信息的存储库。使用:使用隐藏域存入数值时用:hidden 控件。value=数值,取出接收数值时用:变量=hidden 控件。value。优点:使用隐藏域的优点是实现简单, 隐藏域是标准的HTML 控件,不需要复杂的编程逻辑。隐藏域在页上存储和读取,不需要任何服务器资源,几乎所有浏览器和客户端设备都支持具有隐藏域的窗体。缺点:存储结构少,仅仅支持简单的数据结构,存储量少,因为它被存储在页面本身,所以无法存储较大的值,而且大的数据 阅读全文
posted @ 2011-08-08 09:33 brainmao 阅读(6766) 评论(0) 推荐(0) 编辑
摘要: 实例1:省市区县(含全国完整数据库)Ajax无刷新三级联动,利用微软官方ASP.NET AJAX Control Toolkit和WebService结合实现的完整无刷新省市区县三级,该数据库包含大陆32个省市自治区及部分港澳台地区信息,Bin下自带Ajax及AJAX Control Toolkit的控件程序,可以直接使用!HTML:View Code <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>省市区县无刷新联动&l 阅读全文
posted @ 2011-08-05 10:37 brainmao 阅读(2470) 评论(1) 推荐(1) 编辑
摘要: using System.Security.Cryptography;using System.IO;using System;using System.Text;namespace Core.Common.Tool{ /// <summary> /// 用于编解码的静态类 /// </summary> public static class Code { #region 变量定义 /// <summary> /// 对称算法基类 /// </summary> private static SymmetricAlgorithm mobjCrypt 阅读全文
posted @ 2011-08-04 09:40 brainmao 阅读(372) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页