原创 粗陋的手寫AJAX,趕製給同學的!
一共2個頁面:Default.aspx 以及其CS文件,CS文件無新增方法Default2.aspx 以及其CS文件Default.aspx<%@ Page Language="C#" AutoEventWireup="true" Code
原创 委託吧?模擬機票按價錢排序……
先上源代碼 using那裏多了很多東西,沒用的可以去掉。(平時實驗用的,所以不知道搞了什麼,沒注意刪除) using System; using System.Collections.Generic; using System.Text;
原创 我的友情鏈接
51CTO博客開發
原创 重構
using System; using System.Collections.Generic; using System.Text; using System.Xml; using Yefor.Framework.ToolKit; usin
原创 一段C#程序,讓你知道 匿名函數,委託!
#define test1 //#define test2 using System; using System.Collections.Generic; using System.Text; namespace cmdTe
原创 ASP.NET,XML做一些推薦欄目。
這個是用XML作爲數據庫。 用來做一些類似欄目推廣啊,反正就是小型的窗口推廣之類的。 上代碼 <?xml version="1.0" encoding="utf-8"?> <root> <group id="1"> <ad i
原创 TOP API環境。
不知道爲什麼寫了這個,想得好複雜,寫來好簡單。 ELConfig.cs using System; using System.Data; using System.Configuration; using System.Web; usin
原创 我自己的加密~哈哈哈
#region enc string _userID = this.textBox1.Text; int keyword = 87; int leng = _use
原创 js(jquery)驗證碼設置!
花了一個早上,做了個JS驗證碼。誰知道,這東西根本沒有,沒法防止重複提交的。 悲劇咯!驗證碼本來用來防止機械的破壞,誰知道這搞的人麻煩了,還是一樣被重複提交!! 求 設置 驗證碼思路啊……到底這個是怎麼搞的啊!! 根本不知道驗證碼思路是怎
原创 淘寶API半自動獲取sessionKEY(正式環境)
先要在淘寶應用寫上回調地址: 我寫了回調下面的頁面。 GetSessionKey.aspx using System; using System.Data; using System.Configuration; using System
原创 C#高級編程,關鍵詞是泛型,泛型方法,泛型委託
用場景記憶法來記住這些東西就好。本文比較長,所以要看請耐心哈。 玩C#這免不了要搞它的特性,泛型我覺得是C#最有趣的地方。泛型讓C#程序更加靈活。 引用MSDN上的話: 泛型是 2.0 版 C# 語言和公共語言運行庫 (CLR) 中的一個
原创 TOP ,關於時間戳驗證……
TOP中有這麼一項,要驗證授權的時間戳是否超過期限,規則爲官方允許誤差5分鐘,官方範圍30分鐘內有效。 TOP的那個開發文檔不給力,真的不給力~~ 恩,下面給一個函數,用來返回一個DATETIME對象,然後大家就可以比較了…… Da
原创 vim的 user_manual.pdf!簡單的移動!
不用客氣!來 wget http://nchc.dl.sourceforge.net/project/vimcdoc/pdf-manual/1.8.0/user_manual.pdf 拿去吧,呵呵! 一步一步來學習一下VIM怎
原创 倒着輸出來
C#真是很方便啊 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System
原创 IIS中配置ISAPI篩選器:Rewrite1.3.0.16的應用。
ISAPI篩選器,現在網絡上最多的應用就是作爲僞靜態輸出。 因爲這種操作人力成本最低,所以很適合搭配ASP.NET來操作。國內空間也支持這個。 =============================== 前幾天幫客戶上傳一個網站,網站