• [转]关于DataGrid的精华


     
    转自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 




    =========================
  • 相关阅读:
    51nod 1179 最大的最大公约数 (数论)
    POJ 3685 二分套二分
    POJ 3045 贪心
    LIC
    HDU 1029 Ignatius and the Princess IV
    HDU 1024 Max Sum Plus Plus
    HDU 2389 Rain on your Parade
    HDU 2819 Swap
    HDU 1281 棋盘游戏
    HDU 1083 Courses
  • 原文地址:https://www.cnblogs.com/twh/p/339079.html
Copyright © 2020-2023  润新知