上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: /// /// 将原始字串转换为unicode,格式为\u....\u.... /// /// /// private string StringToUnicode(string srcText) { string dst = ""; char[] src = srcText.ToCharArray(); for (int i = 0; i /// 将Unicode字串\u....\u....格式字串转换为原始字符串 ... 阅读全文
posted @ 2012-11-13 17:22 一千零一夜 阅读(1134) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><%@ Register Assembly="PublicControls" Namespace="PublicControls" TagPrefix="mycols" %><!DOCTYPE html PUBLIC "-//W3 阅读全文
posted @ 2012-11-13 17:21 一千零一夜 阅读(165) 评论(0) 推荐(0) 编辑
摘要: lazyload.js(function($) {$.fn.lazyload = function(options) {var settings = {threshold : 0,failurelimit : 0,event : "scroll",effect : "show",container : window};if(options) {$.extend(settings, options);}var elements = this;if ("scroll" == settings.event) {$(settings.cont 阅读全文
posted @ 2012-11-13 17:19 一千零一夜 阅读(161) 评论(0) 推荐(0) 编辑
摘要: jQuery.cookie = function(name, value, options) { if (typeof value != 'undefined') { // name and value given, set cookie options = options || {}; if (value === null) { value = ''; options.expires = -1; } var expires = ''; if (options.expires... 阅读全文
posted @ 2012-11-13 17:19 一千零一夜 阅读(153) 评论(0) 推荐(0) 编辑
摘要: private DataTable GetPagedTable(DataTable dt, int PageIndex, int PageSize) { if (PageIndex == 0) return dt; DataTable newdt = dt.Copy(); newdt.Clear(); int rowbegin = (PageIndex - 1) * PageSize; int rowend = PageIndex * PageSize; if (rowbegin >... 阅读全文
posted @ 2012-11-13 17:15 一千零一夜 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: <!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> <title>动态加载</title> <style type="text/css">ul{ list-s 阅读全文
posted @ 2012-11-13 17:13 一千零一夜 阅读(300) 评论(0) 推荐(0) 编辑
摘要: ajaxLD.aspx.cspublic partial class userCenter_ajaxLD : CenterPage{ protected void Page_Load(object sender, EventArgs e) { Response.Clear(); System.Text.StringBuilder sb = new System.Text.StringBuilder(); int ee3 = DNTRequest.GetFormInt("ee3", 0); if (ee3 > 0) ... 阅读全文
posted @ 2012-11-13 17:11 一千零一夜 阅读(170) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Configuration;using System.Data;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 Sy 阅读全文
posted @ 2012-11-13 17:07 一千零一夜 阅读(157) 评论(0) 推荐(0) 编辑
摘要: if (fu.PostedFile.InputStream.Length < 1) { Comm.MessageBox.Show("请选择文件"); } string FileName = fu.FileName;//上传文件文件名 string FilePath = fu.PostedFile.FileName;//上传文件完整路径+文件名 if (FileName.ToLower().IndexOf(".txt") == -1) { Comm.Me... 阅读全文
posted @ 2012-11-13 17:07 一千零一夜 阅读(164) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){ var _lll= $(window).width(); var _mmm = 0; $(".valuation li img").mouseover(function(e){ titles=$(this).attr("title"); $(this).attr("title",""); $(".valuation li").append("<div class='valtip'>"+ti 阅读全文
posted @ 2012-11-13 17:04 一千零一夜 阅读(549) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页