原创 實現登錄和註冊

數據表: create table users (   uname varchar(20),   uemail varchar(50),   uinfo varchar(500) )  AjaxRegister.aspx頁面: <html

原创 Linq To XML

 Sample.xml<?xml version="1.0" encoding="utf-8"?> <root> <person name="w

原创 加密和解密

  public class DESC { const string KEY_64 = "VavicApp";//注意了,是8個字符,64位 const string IV_64 = "Vavic

原创 SlideShowExtender實現圖片自動切換

前臺頁面: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> </head> <body> <form i

原创 XAML揭祕

    1. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 

原创 GridView 72般絕技

 GridView無代碼分頁排序 GridView選中,編輯,取消,刪除 GridView正反雙向排序 GridView和下拉菜單DropD

原创 Ajax基本示例一

檢測用戶名是否存在: 前臺代碼: <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title></title>

原创 Ajax基本示例二

獲取XML: <?xml version="1.0" encoding="utf-8" ?> <users> <user> <name>張三</name> </user> <user> <name>李四</na

原创 C# 4.0 新增特性

  1.dynamic ExpandoObject   熟悉js的朋友都知道js可以這麼寫 : var t = new Object(); t.

原创 Linq實現簡單留言板

SQL後臺代碼:   create table tbGuestBook ( Userid int identity(1,1) primary key, UserName varchar(50) not null, PostTime

原创 Linq的基本用法一

用法一: // 用Where篩選小於5的數據 public static void Sample1() { int[] numbers = new[] { 5, 4,

原创 自定義分頁(1)

 html頁面:<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">

原创 選項左右移動

 <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <ti

原创 Excel相關

  Excel組件配置和解決方案: Web.config中加了一句話:“<identity impersonate="true" userName=

原创 Linq簡單操作

 綁定數據 protected void Page_Load(object sender, EventArgs e) {