原创 我想讀的書

蘇東坡傳 意向的暗記 人間詞話 中國大歷史 中國哲學簡史 紅玫瑰與白玫瑰 / 傾城之戀 喜福會 麥田裏的守望者 野草 守望的距離 美國與中國 寬容 從文家書 傅雷家書 喜寶 / 連環 / 人淡如菊 生命中不能承受之輕 時代的精神狀況 聖經

原创 ASP.NET 2.0技巧

  1、在CallBack之後保持滾動條的位置 在Asp.Net1.1中,CallBack之後保持滾動條的位置是一件非常痛苦的事情,特別是頁中有一

原创 上傳與下載文件

 //上傳代碼:  protected void sh_Click(object sender, EventArgs e)        {     

原创 js驗證身份證號碼的有效方法[1]以及密碼驗證和強度的驗證 1 JS正則表達式 代碼 .txt

 <SCRIPT LANGUAGE="JavaScript"><!--function checkIdcard(idcard){var Errors=

原创 用 case when 選擇讀取一個Root 類型的值

 @"SELECT assign_dt, modify_dt, cust_id, ww_user, mobile1, mobile2, phone1, phone2,                   case_result, id_

原创 使用Linq綁定三級treeview 並獲取被選中的checkbox所對應的text值

  1.綁定treeview   private void DrawTree()     {         var tblist = tbdu.t

原创 播放器

1.前臺代碼:  <Grid x:Name="LayoutRoot" Background="White" Height="237" Width="499">                <MediaElement Height="0"

原创 當點擊一個按鈕時把gridview中的值導入到excel中

 1.點擊事件  protected void buts_Click(object sender, EventArgs e)         {  

原创 讀取Excel,並把某幾列合併起來存入XElement 類型放入數據庫

  1.讀取excel,放入datatable裏面:                 OleDbDataAdapter oda = new OleDbDataAdapter("select * from [" + sheename + "

原创 用OleDb導入txt文本

   protected void shang_Click(object sender, EventArgs e)        {         

原创 excle導出

 /// <summary>        /// 把DataTable內容導出爲excel並返回客戶端        /// </summary> 

原创 讀取txt文本中的值 用gridview顯示

 1.後臺:   public DataTable LoadData(string fileName)        {            Dat

原创 動態創建表並添加數據最後用reporting顯示

using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;u

原创 關於Request 獲取地址大全

  本頁地址:   Request.URL;   上頁地址:   Request.UrlReferrer   Request.ServerV

原创 讀取excel 的數據