原创 XML文檔的操作

<?xml version="1.0" encoding="utf-8"?><bookstore>  <book ISBN="123">    <title>數據一</title>    <auhtor>TOM</auhtor>  </b

原创 DBHelper參考

 1using System;  2using System.Collections.Generic;  3using System.Text;  4using System.Data;  5using System.Data.SqlCl

原创 技術性資源記錄

mvc2.0http://code.msdn.microsoft.com/aspnetmvcsamples/Release/ProjectReleases.aspx?ReleaseId=3038微軟官方網站例子下載 http://www.

原创 1 Linq To Sql進階系列

1 Linq To Sql進階系列(一)-從映射講起 本系列,或多或少,直接或間接依賴入門系列知識。但,依然追求獨立成章。因本文作者水平有限,文中錯誤難免,敬請讀者指出並諒解。本系列將會和入門並存。 2 Linq To Sql進階系列(

原创 關於 dataview的操作 以後陸續添加

  //每行綁定的時候執行 protected void gvPosition_RowDataBound(object sender, GridViewRowEventArgs e)    {        if (e.Row.RowTy

原创 Session,ViewState用法基本理論

http://www.360doc.com/content/10/0606/15/1648064_31591057.shtml

原创 XML的增刪改 其人 上篇文章 文章分頁 值得一看

http://www.cnblogs.com/stulife/archive/2010/04/24/1719476.html    

原创 meta 標籤實現頁面跳轉

<meta http-equiv="REFRESH" content="3; URL=Offline.aspx"> content=“0 表示0秒鐘後跳轉,url跳轉地址,主要用在,點擊根目錄連接到想要顯示子目錄下 <head>    <

原创 AJAX使用了UpdatePanel後無法使用alert彈出腳本

ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "", "alert('請輸入aaa!')", true);   

原创 Asp.net C#僞靜態html如何實現?

http://www.yonghang.net/blog/article/139.htm

原创 加入收藏頁

<a href="javascript:if(document.all){window.external.addFavorite('http://www.baidu.com/','百da 度');}else if(window.sideb

原创 存儲過程

USE [YuLinEducation_DB]GO /****** Object:  StoredProcedure [dbo].[usp_MakerLookTeacherInfoPage]    Script Date: 07/25/2

原创 cookie 的書寫

  protected void Page_Load(object sender, EventArgs e)    {        HttpCookie MyCookie = Request.Cookies["User_location

原创 Form驗證

      <authentication mode="Forms" >        <forms name=".name" protection="All" loginUrl="Login.aspx" defaultUrl="Defa

原创 使用SingleTagSectionHandler實現簡單配置節

使用SingleTagSectionHandler實現簡單配置節      當我們程序中使用配置文件時,Asp.net中使用是Web.config,WinForm和Console中使用是App.config。通常用的最多是AppSett