原创 HashtableExample
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace HashtableExample...
原创 ArrayList的小小例子
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace arraylist...{ cl
原创 返回字符串服務器目錄中的文件名並加以分類
public string GetReportList(int type, Guid _advisorid, Guid _accountid)//獲取目錄 //1 表示Risk 2表示Xray 0默認都顯示
原创 結構體
using System;using System.Collections.Generic;using System.Text;namespace struct02...{ public struct CoOrds ...{
原创 關於數據綁定的時候判斷Repeater中數據改變其整行顏色
PagedDataSource版 protected void rpInCome_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.It
原创 枚舉的例子
using System;using System.Collections.Generic;using System.Text;namespace enumtrasform...{ enum Range : long ...{ M
原创 gridview 排序時候顯示箭頭
//在GridView的RowCreated事件中 protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.
原创 js定時跳轉頁面的方法
<span id="view"></span> <script> var t=3 //設定跳轉的時間setInterval("testTime()",1000); //啓動1秒定時 function testTime() {
原创 遍歷獲取目錄信息
public string GetReportList(int type, Guid _advisorid, Guid _accountid)//獲取目錄 //1 表示Risk 2表示Xray 0默認都顯示 {
原创 sql 數據庫連接 暨 ado.net 小例
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; na
原创 正則表達式基礎知識
一個正則表達式就是由普通字符(例如字符 a 到 z)以及特殊字符(稱爲元字符)組成的文字模式。該模式描述在查找文字主體時待匹配的一個或多個字符串。正則表達式作爲一個模板,將某個字符模式與所搜索的字符串進行匹配。如: JScript V
原创 與按鈕雷同的超鏈接
a:link, a:visited { display: block; width: 6em; /* dimensions needed for IE5.x/Win */ paddin
原创 ASP.NET 常用的33種代碼(轉,收藏一下,以備後查)
1. 打開新的窗口並傳送參數: 傳送參數: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+
原创 小記ASP.NET Response Request Server
1、Response使用 Response 主要用於瀏覽器輸出信息。使用Response.Write方法 Response.End方法會無條件結束當前輸出流。 Redirect方法實
原创 數據庫中各種操作方式累積。這個主要是測試顯示使用多種方法
alter PROCEDURE [dbo].[web_GetAllFriendInfo] @AdvisorId uniqueidentifier, @PageSize int, @PageIndex int, @Total int ou