System.Web.UI.WebControls.ButtonColumn Class
Information   Base Types   Related Resources

A column type for the DataGrid control that contains a user-defined command button, such as Add or Remove, that corresponds with each row in the column.

  • Namespace: System.Web.UI.WebControls
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.Web.dll

  • System.Web.UI.WebControls.DataGridColumn
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (31)Discussions (263)MembersRotorChanges
    Articles

    Page: 12
    A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 4
    The Code Project
    The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid
    A Truly Excel-like Grid Control
    MSDN
    The ASP.NET DataGrid control generates an HTML output that really seems to be the Web counterpart of a Microsoft Excel worksheet. In addition, the control supports features like selection and in-place editing that can only further confirm this similarity. With in-place editing, in particular, the similarities are most clear. You click on a special type of command column and the grid redraws its content using text boxes rather than static text. At the same time, the command column changes the layout, replacing the edit link with two other links—one for saving and one for canceling changes. The overall design looks nearly identical to the Excel name box command bar.
    Accessing DataGrid Information
    DotNetJunkies
    So many articles explain how to get data into a DataGrid, however this one will show you how to get data out. Luis will show how to read the contents of a particular column when the user selects an item.
    An Extensive Examination of the DataGrid Web Control: Part 3
    ASP.NET - 4GuysFromRolla
    This article is the third piece of a multi-part series on using the DataGrid Web control that will span several weeks. The ASP.NET DataGrid Web control, which displays database information in an HTML table, is highly versatile. The basics of the DataGrid were discussed in Part 1; information on specifying display properties of the DataGrid was discussed in Part 2. This article will examine how to associate custom events with the DataGrid.
    Article 2 - Dynamic creation of database
    The Code Project
    Display data using Dataset and Data Grid control after the database is created
    Ask the DotNetJunkies : Building a Master/Detail DataGrid
    DotNetJunkies
    Question: I have a question regarding DataGrid. Can I bind a column of a DataGrid to another DataGrid? I have a situation where I have to display a few details in the same DataGrid on click of a HyperLink column. Thanks in advance.Regards, Prathibha Sharangapani. The Answer: Prathibha, this can certainly be done. You are describing a master/detail DataGrid.
    ASP.NET Data Shaping
    MSDN
    Is it possible to port this model to Web Forms and get automatic synchronization between two DataGrid server controls? This is the question I will try to answer in this month's column.
    Building a Generic Database Tool Using .NET and Three Tier Architecture
    DotNetJunkies
    In this article, Sun shows how easy it is to develop a n–tiered Web application to create a generic database tool using ASP.NET and the .NET Framework. The system is quite simple and is able to handle the management of any simple table in any database. It provides an excellent starting point for providing a generic database tool.
    Building a Master/Detail DataGrid
    DotNetJunkies
    "I have a question regarding DataGrid. Can I bind a column of a DataGrid to another DataGrid? I have a situation where I have to display a few details in the same DataGrid on click of a HyperLink column." This can certainly be done. You are describing a master/detail DataGrid. For example, a DataGrid of customers with a column in each row that has an embdedded DataGrid of all the orders placed by that customer.
    Building a Master/Detail DataGrid for Database Inserts
    DotNetJunkies
    We are going to build an example Web Form that you can extend in your application. We will have two tables - OrderMaster and OrderDetails. As the names suggest the former is a master table where as the later is detail table. We want to add one record in the master table and several others in the detail table. We will not display any existing rows on the screen to maintain a clean page.
    Building a Master/Detail DataGrid for Database Inserts
    DotNetJunkies
    In this article, Bipin explains how to build a Web Form where the requirement is inserting many rows of data against one row of master data. He builds an example Web Form that you can extend in your application with two tables - OrderMaster and OrderDetails.
    Building a Tiered Web App Using the DataSet and the ASP DataGrid
    MSDN
    This month, I'll walk through the development of a three-tiered Web application that retrieves data, allows the user to make changes, and sends the data back to the database using the DataSet object as the transport mechanism.
    Building a Variety of Custom Controls Based on the DataGrid Control
    MSDN
    The DataGrid Web control is by far the most powerful and versatile of all ASP .NET controls. Not only does it have many properties that you can set programmatically, but it lends itself to more advanced forms of customization. In this column, I'll build a few flavors of DataGrid-based Web controls. In doing so, I'll review the major design issues that characterize these controls and answer some of the questions most frequently raised by readers after they tackled the series of DataGrid columns in the March through June 2001 installments of Cutting Edge. In particular, you'll see how to add a custom toolbar to a DataGrid control to accomplish common tasks such as New and Unselect.
    Create and maintain a links page using XML as the datasource
    http://www.swartzentruber.net/
    I wanted to play around with the idea of using an XML document to store a group of links. This XML document is read into an ADO.NET dataset table for the purpose of rendering in a datagrid or other databound control.
    Creating DataGrid Programmatically
    Bipin Joshi
    Generally ASP.NET DataGrid is placed on the web form at design time. You add the <asp:DataGrid>control to the web form and then add bound columns to it. However, some timesit becomes necessary to create DataGrid via code and then add it to the web form. This articles will showyou how to do just that.
    Data Points - Managing Hierarchical Inserts in ASP.NET and ADO.NET
    MSDN
    Manage and persist user input before it's committed to the database
    Displaying a Directory Structure in a DataGrid
    DotNetJunkies
    Recently, I had a requirement to create a data-dump as a directory structure and display the same in a DataGrid. In this article, I'll cover the concept of obtaining the directory structure and displaying it in a DataGrid.
    Formatting DataGrid Columns
    DotNetJunkies
    In this article, Steve explains why to apply a custom formatting to the data in a DataGrid, it is probably best to use a TemplateColumn so that you have maximum control over how the data will appear in the grid.
    Handling DataGrid Events
    ASP Alliance
    When a DataGrid starts up (you run the page), several events are fired at certain times, these events give you the opportunity to do some extra coding to change the DataGrid.
    Handling Events in Programatically Created DataGrids
    DotNetJunkies
    This HowTo shows you the code to build DataGrids programmatically and handle the DataGrid.ItemCommand event. The code download is available in both C# and Visual Basic .NET.
    How to find child controls that are located in the template of a parent control
    Microsoft Support
    (323261) - To find child controls that are located in a the template of a parent control, you can use the FindControl method or the Cells collection index. However, the TemplateColumn column and the BoundColumn column are different when you try to use the...
    How to find child controls that are located in the template of a parent control
    http://www.kbalertz.com/
    (323261) - To find child controls that are located in a the template of a parent control, you can use the FindControl method or the Cells collection index. However, the TemplateColumn column and the BoundColumn column are different when you try to use the...
    Making an ASP.NET Web Site Accessible
    MSDN
    Extend ASP.NET classes to make them generate ASP.NET code that is fully accessible to people with disabilities.
    Populating DataGrid control from a parent-child relationship DB table
    The Code Project
    This article explains how to populate a DataGrid with records from a database table containing a parent-child relationship.
    Retain Scrollback Position After Postback in DataGrid
    DotNetJunkies
    One question keeps coming up over and over again; not only to me but I’m seeing it on newsgroups and forums also. The question is, "how can I make a page scroll back to the original position in a DataGrid when I user posts a form back to a server?" In this article I’m going to demonstrate one way to do it through the use of bookmarks.
    Ad
    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification