關於DataGrid的精華

來源:互聯網
上載者:User
轉自http://www.csdn.net/

1、DataGrid動態模板列更新資料並且分頁的例子 
http://www.cnblogs.com/lovecherry/archive/2005/03/26/126102.html 

2、DataGrid動態添加模板列的一個例子 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125526.html 

3、DataGrid實現增刪(帶提示)改和分頁 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125487.html 

4、怎麼在綁定後動態改變DataGrid中的內容 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125492.html 

5、怎麼為DataGrid中的連結設定多個參數 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125510.html 

6、DataGrid實現自增列、單選、多選 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125516.html 

7、Datagrid資料匯出到excel檔案給用戶端下載的幾種方法 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125519.html 

8、DataGrid和DropDownList的一些配合以及使用css定製DataGrid 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125525.html 

9、怎麼為DataGrid中的連結設定多個參數 
http://www.cnblogs.com/lovecherry/archive/2005/03/25/125510.html 

10、如何控制DataGrid裡的內容換行與不換行? 
http://dotnet.aspx.cc/ShowDetail.aspx?id=A27CA611-2DE7-432D-8DBC-1512CEFDAA53 

11、從SQL Server資料庫提取圖片並顯示在DataGrid 
http://dotnet.aspx.cc/ShowDetail.aspx?id=ECD9AE16-8FF0-4A1C-9B9F-5E8B641CB1B1 

12、建立跨多列、多行表頭的DataGrid 
http://dotnet.aspx.cc/ShowDetail.aspx?id=0BF1E82C-A30A-4B5B-85B2-8DB339A41D37 

13、建立固定表頭、表格體滾動的DataGrid 
http://dotnet.aspx.cc/ShowDetail.aspx?id=B3F3462D-DC34-41CE-9FEE-6965B2A3D1AD 

14、建立自滾動的DataGrid 
http://dotnet.aspx.cc/ShowDetail.aspx?id=0C25068E-55EA-4124-8CD6-726ECF5D5D3B 

15、顯示和隱藏DataGrid中的列 
http://dotnet.aspx.cc/ShowDetail.aspx?id=9EBB267B-E69D-460F-B4C7-BE08CA290C0F 

16、在DataGrid中為Footer添加自訂內容 
http://dotnet.aspx.cc/ShowDetail.aspx?id=1E0710F9-29CE-4425-90BB-3553F5C820DA 

17、利用ASP.NET DataGrid顯示主次關係的資料 
http://dotnet.aspx.cc/ShowDetail.aspx?id=149E5DD7-3B32-461e-ACC6-51D1652E6746 

18、把Excel檔案中的資料讀入到DataGrid中 
http://dotnet.aspx.cc/ShowDetail.aspx?id=C673E2CD-3F1E-4919-8CE0-D69B894A0599 

19、在DataGrid快速添加新行 
http://dotnet.aspx.cc/ShowDetail.aspx?id=C4CE487D-02FB-450B-BF3C-9F870CBC66A5 

20、跨頁面實現多選 
http://dotnet.aspx.cc/ShowDetail.aspx?id=F43AF9A5-2C2E-4AA6-E976-21E9569F5A8A 

(1-10來自本人部落格園blog,11-20來自孟子E章技術網站)

下面是有針對性的:

DataGrid的正反雙向排序 
http://dev.csdn.net/develop/article/26/26817.shtm 

DataGrid刪除確認及Item顏色交替 
http://dev.csdn.net/develop/article/26/26768.shtm 

DataGrid常見解決方案(三)--在DataGrid中選擇,確認,刪除多行複選框列表 
http://dev.csdn.net/develop/article/26/26613.shtm 

使用DataGrid動態綁定DropDownList 
http://dev.csdn.net/develop/article/26/26590.shtm 

DataGrid在分頁狀態下刪除紀錄的問題 
http://dev.csdn.net/develop/article/26/26589.shtm 

怎樣使用DataGrid控制項 
http://dev.csdn.net/develop/article/26/26459.shtm 

DataGrid Web控制項深度曆險(3) part1 
http://dev.csdn.net/develop/article/26/26249.shtm 

DataGrid Web控制項深度曆險(3) part2 
http://dev.csdn.net/develop/article/26/26250.shtm 

DataGrid Web控制項深度曆險(3) part3 
http://dev.csdn.net/develop/article/26/26403.shtm 

datagrid分頁《非控制項版》 
http://dev.csdn.net/develop/article/26/26002.shtm 

datagrid分頁問題(前後跳頁)《控制項版》 
http://dev.csdn.net/develop/article/26/26001.shtm 

DataGrid Web控制項深度曆險(2) Part1 
http://dev.csdn.net/develop/article/25/25948.shtm 

DataGrid Web控制項深度曆險(1) 
http://dev.csdn.net/develop/article/25/25816.shtm 

DataGrid Web控制項深度曆險(2) Part2 
http://dev.csdn.net/develop/article/25/25949.shtm 

如何在DataGrid裡面產生捲軸而不滾動題頭 
http://dev.csdn.net/develop/article/25/25538.shtm 

使用在.net 架構上的DataGrid數據分頁控制項 
http://dev.csdn.net/develop/article/25/25474.shtm 

將某一目錄下的所有相同格式的 XML檔案綁定到不同的DataGrid 
http://dev.csdn.net/develop/article/25/25469.shtm 

DataGrid串連Access的快速分頁法(5)——實現快速分頁 
http://dev.csdn.net/develop/article/25/25294.shtm 

DataGrid串連Access的快速分頁法(4)——動態產生SQL語句 
http://dev.csdn.net/develop/article/25/25293.shtm 

DataGrid串連Access的快速分頁法(3)——SQL語句的選用(降序) 
http://dev.csdn.net/develop/article/25/25291.shtm 

DataGrid串連Access的快速分頁法(2)——SQL語句的選用(升序) 
http://dev.csdn.net/develop/article/25/25290.shtm 

DataGrid串連Access的快速分頁法(1)——需求與現狀 
http://dev.csdn.net/develop/article/25/25288.shtm 

顯示DataGrid序號的一個適用的方法 
http://dev.csdn.net/develop/article/25/25113.shtm 

常見 Datagrid 錯誤(other) 
http://dev.csdn.net/develop/article/24/24460.shtm 

XP 風格的可拖動列、可排序、可改變寬度的DataGrid的例子 
http://dev.csdn.net/develop/article/24/24441.shtm 

利用radio實現Datagrid的單選 
http://dev.csdn.net/develop/article/24/24295.shtm 

重畫系列:DataGridColumnStyle之測試代碼 
http://dev.csdn.net/develop/article/24/24191.shtm 

將OleDbDataAdapter綁定到Winform下的DataGrid 
http://dev.csdn.net/develop/article/24/24148.shtm 

去除Asp:DataGrid中無用ViewState的方法(2) 
http://dev.csdn.net/develop/article/23/23671.shtm 

去除Asp:DataGrid中無用ViewState的方法(1) 
http://dev.csdn.net/develop/article/23/23670.shtm 

datagrid儲存時無法提交更新的問題 
http://dev.csdn.net/develop/article/23/23376.shtm 

將DBF,XLS,XML,MDB檔案匯入C#DataGrid的方法 
http://dev.csdn.net/develop/article/23/23036.shtm 

動態建立DataGrid的模版列 
http://dev.csdn.net/develop/article/22/22942.shtm 

DataTable中資料記錄的統計 
http://dev.csdn.net/develop/article/22/22710.shtm 

(ASP.NET)用動態屬性和DataView實現DataGrid的雙向排序 
http://dev.csdn.net/develop/article/22/22513.shtm 

如何同步滾動兩個相同的DataGrid 
http://dev.csdn.net/develop/article/22/22438.shtm 

asp.net中DataGrid效能測試 
http://dev.csdn.net/develop/article/22/22405.shtm 

讓Asp.NET的DataGrid可排序、可選擇、可分頁 
http://dev.csdn.net/develop/article/22/22297.shtm 

DataGrid傳統分頁方式 
http://dev.csdn.net/develop/article/21/21997.shtm 

在後代碼裡建立DataGrid控制項 
http://dev.csdn.net/develop/article/21/21934.shtm 

實作類別似Windows資源管理員的DataGrid 
http://dev.csdn.net/develop/article/21/21933.shtm 

ASP.net中的Datagrid自訂分頁功能 
http://dev.csdn.net/develop/article/21/21875.shtm 

在Pocket PC應用程式中使用DataGrid控制項 
http://dev.csdn.net/develop/article/21/21844.shtm 

建立可拖動列的DataGrid(2) 
http://dev.csdn.net/develop/article/21/21594.shtm 

建立可拖動列的DataGrid 
http://dev.csdn.net/develop/article/21/21593.shtm 

DataGrid和CheckBox的混合使用 
http://dev.csdn.net/develop/article/21/21585.shtm 

利用Session紀錄datagrid模板列中CheckBox的狀態 
http://dev.csdn.net/develop/article/21/21294.shtm 

DataGrid模板列中TextBox的焦點相應鍵盤事件 
http://dev.csdn.net/develop/article/21/21290.shtm 

給DataGrid添加確定刪除的功能 
http://dev.csdn.net/develop/article/20/20892.shtm 

如何給DataGrid添加自動成長列 
http://dev.csdn.net/develop/article/20/20887.shtm 

如何利用RadioButtonList實現datagrid列的單選 
http://dev.csdn.net/develop/article/20/20789.shtm 

錦上添花DataGrid! 
http://dev.csdn.net/develop/article/20/20770.shtm 

ASP.Net WebMatrix中Datagrid使用模板列對資料顯示進行排版 
http://dev.csdn.net/develop/article/20/20576.shtm 

格式化 DataGrid 輸出 
http://dev.csdn.net/develop/article/20/20307.shtm 

如何?單擊在DATALIST(DATAGRID)的HEADER加入的CHECKBOX,進行DATALIST(DATAGRID)中的CHECKBOX列全選或全不選 
http://dev.csdn.net/develop/article/20/20290.shtm 

向datagrid中加橫向 縱向的合計 (在datatable中實現,datatable間倒資料) 
http://dev.csdn.net/develop/article/20/20221.shtm 

基於ADO+Adodc控制項+DataGrid控制項製作的一個資料庫編輯程式(完整原程式) 
http://dev.csdn.net/develop/article/19/19600.shtm 

如何?自訂及自動逐頁列印DataGrid顯示的內容 
http://dev.csdn.net/develop/article/19/19353.shtm 

合并datagrid中內容相同的儲存格 
http://dev.csdn.net/develop/article/19/19122.shtm 

建立固定表頭、表格體滾動的DataGrid 
http://dev.csdn.net/develop/article/18/18972.shtm 

建立跨多列、多行表頭的DataGrid 
http://dev.csdn.net/develop/article/18/18971.shtm 

在DataGrid中添加一個合計欄位 
http://dev.csdn.net/develop/article/18/18856.shtm 

在DataGrid裡添加確認刪除的對話方塊 
http://dev.csdn.net/develop/article/18/18838.shtm 

為DataGrid添加自動編號功能 
http://dev.csdn.net/develop/article/18/18783.shtm 

格式化DataGrid的例子【將資料來源中的0,1值轉換成實際的文字】 
http://dev.csdn.net/develop/article/18/18782.shtm 

Henry手記—Web Form中的Datagrid的自訂分頁 
http://dev.csdn.net/develop/article/18/18760.shtm 

建立完全可編輯的 DataGrid 
http://dev.csdn.net/develop/article/18/18744.shtm 

DataGrid控制項通用列印類 
http://dev.csdn.net/develop/article/18/18711.shtm 

為DataGrid添加CheckBox控制項 
http://dev.csdn.net/develop/article/18/18615.shtm 

VB.NET中關於DataGrid顏色的自訂 
http://dev.csdn.net/develop/article/18/18512.shtm 

在DataGrid快速添加新行 
http://dev.csdn.net/develop/article/18/18487.shtm 

Henry手記-Datagrid事件響應(二) 
http://dev.csdn.net/develop/article/18/18315.shtm 

datagrid技巧之一:代碼控制選中行的顏色 
http://dev.csdn.net/develop/article/17/17852.shtm 

在C#裡實現DATAGRID的預覽列印和列印 
http://dev.csdn.net/develop/article/17/17851.shtm 

Binding a DataGrid to an ADO Recordset 
http://dev.csdn.net/develop/article/17/17850.shtm 

Creating DataGrid Templated Columns Dynamically - Part II 
http://dev.csdn.net/develop/article/17/17846.shtm 

Creating DataGrid Templated Columns Dynamically - Part I 
http://dev.csdn.net/develop/article/17/17845.shtm 

DataTable,DataView和DataGrid中一些容易混淆的概念 
http://dev.csdn.net/develop/article/17/17840.shtm 

動態管理ASP.NET DataGrid資料列 
http://dev.csdn.net/develop/article/17/17599.shtm 

Henry手記-Datagrid鍵盤事件響應(二) 
http://dev.csdn.net/develop/article/17/17424.shtm 

Henry手記—從Datagrid的標題置中說起 
http://dev.csdn.net/develop/article/17/17053.shtm 

用嵌套的DataGrid實現主從式表的顯示 
http://dev.csdn.net/develop/article/16/16960.shtm 

DataGrid中嵌套使用Repeater 
http://dev.csdn.net/develop/article/16/16834.shtm 

Henry手記 - Datagrid鍵盤事件響應(一) 
http://dev.csdn.net/develop/article/16/16572.shtm 

給datagrid控制項建立穩固的雙向排序(asp.net) 
http://dev.csdn.net/develop/article/16/16563.shtm 

asp.net筆記(dataset,datagrid) 
http://dev.csdn.net/develop/article/16/16528.shtm 

添加一個下拉框到DataGrid 
http://dev.csdn.net/develop/article/16/16434.shtm 

DataSet匯出CSV格式(ASP.NET,C#) 
http://dev.csdn.net/develop/article/16/16311.shtm 

Henry手記:Datagrid事件響應 
http://dev.csdn.net/develop/article/16/16273.shtm 

Henry手記:WinForm Datagrid結構剖析(三)使用代碼 
http://dev.csdn.net/develop/article/16/16088.shtm 

Henry手記:WinForm Datagrid結構剖析(三)類代碼 
http://dev.csdn.net/develop/article/16/16087.shtm 

Henry手記:WinForm Datagrid結構剖析(三) 
http://dev.csdn.net/develop/article/16/16086.shtm 

ADO在vb.net中的使用(與datagrid結合) 
http://dev.csdn.net/develop/article/15/15975.shtm 

Henry手記:WinForm Datagrid結構剖析(二)程式 
http://dev.csdn.net/develop/article/15/15929.shtm 

Henry手記:WinForm Datagrid結構剖析(二) 
http://dev.csdn.net/develop/article/15/15928.shtm 

ASP.NET中的DataGrid的屬性 
http://dev.csdn.net/develop/article/15/15920.shtm 

EnableViewState="false"的DataGrid分頁 
http://dev.csdn.net/develop/article/15/15913.shtm 

Datagrid 連結資料庫Access 
http://dev.csdn.net/develop/article/15/15861.shtm 

DataGrid 連結Access資料庫 
http://dev.csdn.net/develop/article/15/15860.shtm 

Henry手記:WinForm Datagrid結構剖析(一) 
http://dev.csdn.net/develop/article/15/15686.shtm 

把Excel檔案中的資料讀入到DataGrid中 
http://dev.csdn.net/develop/article/15/15544.shtm 

如何建立一個用快顯視窗來查看詳細資料的超連結列 
http://dev.csdn.net/develop/article/15/15456.shtm 

DataGrid提示(四) 
http://dev.csdn.net/develop/article/15/15282.shtm 

DataGrid提示(三) 
http://dev.csdn.net/develop/article/15/15220.shtm 

DataGrid提示(二) 
http://dev.csdn.net/develop/article/15/15139.shtm 

DataGrid提示(一) 
http://dev.csdn.net/develop/article/15/15109.shtm 

神奇的 DataGrid 
http://dev.csdn.net/develop/article/14/14114.shtm 

使用c#+(datagrid控制項)編輯xml檔案 
http://dev.csdn.net/develop/article/13/13333.shtm 

在DataGrid中建立一個彈出式Details視窗 
http://dev.csdn.net/develop/article/12/12170.shtm 

在DataGrid中建立一個彈出式Details視窗 
http://dev.csdn.net/develop/article/12/12099.shtm 

vs.net beta 2中利用DataGrid分頁詳解 
http://dev.csdn.net/develop/article/11/11009.shtm 

使用 ASP+ DataGrid 控制項來建立主視圖/詳細資料視圖 (2) 
http://dev.csdn.net/develop/article/1/1865.shtm 

使用 ASP+ DataGrid 控制項來建立主視圖/詳細資料視圖 
http://dev.csdn.net/develop/article/1/1864.shtm 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.