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

A column type for the DataGrid control that is bound to a field in a data source.

  • 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 (59)Discussions (687)MembersRotorChanges
    Articles

    Page: 123
    A DropDownList, EditItemTemplate, using Access, and HttpSessionState...Part 3
    DotNetJunkies
    Here we are at part three of this article! In this part we will be adding one new feature to the code! Instead of making a call to the database to get the data on each request we are going to be saving the <b>DataSet</b> into session state. We will not only be populating the <b>DataGrid</b> and <b>DropDownList</b> controls from this <b>DataSet</b>, but we will also be saving all the edits done by the user. This means that after the <b>DataSet</b> is initially created and put into session state there will be
    A DropDownList, EditItemTemplate, using Access, and HttpSessionState...Part 4
    DotNetJunkies
    In this article I will demonstrate how you can save the changes made to the memory resident <b>DataSet</B>.
    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.
    Adding a "Totals" Field in a DataGrid
    DotNetJunkies
    Lately one of the questions that has been popping up a lot is, "How do I show column totals in a DataGrid?" Personally I have provided sample code for this question more than a few times, so I thought it would only be appropriate that we here at DotNetJunkies HQ get a tutorial up on the topic.
    Adding a Totals Field in a DataGrid
    DotNetJunkies
    In this tutorial Doug shows you how to programmatically sum the values of a column in a DataGrid, and display that total in the footer of the DataGrid.
    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.
    Ask the DotNetJunkies : Building a Master/Detail DataGrid Part II
    DotNetJunkies
    Building a Master/Detail DataGrid - Great Article! How would a template column be created and included in the DataGrid that appears in the Orders column. GfWeis - The Answer: Well, first off...thanks for the compliment. Now, let's cut to the chase. What you are asking, adding a TemplateColumn to an embedded DataGrid, can certainly be done. We are going to take a slightly different approach for this however. In this tutorial I will show you how to embed a DataGrid in a DataGrid, with a TemplateColumn in the
    Ask the DotNetJunkies: Editing with the ASP.NET DataGrid
    DotNetJunkies
    I have bound data to a datagrid, which has ID, name, address columns. But I want the key field (for example ID) as a href so that by clicking on the ID, I can take the user to another page where I can let him edit that record. - Sreedhar Reddy. This is a great question. The best part about it is that the ASP.NET DataGrid server control enables editing of records in a much easier fashion.
    Ask the DotNetJunkies: Using a Pop-Up Calendar and a List Control
    DotNetJunkies
    In this tutorial Doug Seven shown you how to use a DataGrid and a pop-up calendar / date picker together.
    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.
    ASP.NET Expand/Contract DataGrid
    The Code Project
    ASP.NET Expand/Contract DataGrid that allows you to show/hide details without posting back.
    ASP.NET Expand/Contract DataGrid
    The Code Project
    ASP.NET Expand/Contract DataGrid that allows you to show/hide details without posting back
    ASP.NET Localization Part 1: CultureInfo
    DotNetJunkies
    The .NET Framework provides built-in mechanisms for localizing applications. ASP.NET internally uses Unicode and the String class of the .NET Framework also uses Unicode. The use of Unicode enables you to easily specify different encoding types for the response data sent to the client. While the .NET Framework will not translate your documents from the language they are written in to a different language, the built-in mechanisms will reconfigure output such as DateTime objects to their appropriate format.
    Building a DataGrid with Add and Edit Features
    DotNetJunkies
    The DataGrid server control is one of the most widely used controls in ASP.NET-based projects to display data in a table form. When using a mixture of database- and manually-driven DropDownLists, placing them in a DataGrid can be confusing. In this tutorial, I'll focus on resolving this issue using an example of an expense entry and reporting system.
    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 Web Application Hit Counter
    DotNetJunkies
    In this tutorial Doug Seven shows you how to build a basic Web Application Hit Counter using Visual Basic .NET and SQL Server. The code is shown and available for download in Visual Basic .NET.
    Building Editing Capabilities into the SqlDataNavigator ASP.NET Control
    MSDN
    In last month's column I began an ambitious project: building a SQL Server™-specific DataNavigator control that supports two-way data binding. The control I'll present in this column, SqlDataNavigator, is just an extension of last month's DataNavigator. The SqlDataNavigator ASP.NET control described here is meant to be the Microsoft® .NET counterpart of the Data control—an old Visual Basic® control that caused its share of headaches. The control moves from one record to the next according to a given order and displays each data row using a dynamically generated template. Last month I focused on the DataNavigator control's architecture and tackled some programming issues related to connectivity and data display. This month, I'll add editing capabilities to the control, making SqlDataNavigator actually support the "writing" channel of .NET data binding.
    Coping with a New Beta - Data Server Control Templates and Editing
    DotNetJunkies
    The .NET Framework Beta 2 has many changes that will break applications written in Beta 1. Among these changes is the templates used in Data Server Controls, such as the DataGrid and DataList. These are simply syntax changes in how templates are used, not programmatic breaks. In this tutorial you will learn how to use Data Server Control templates. Heck, since it’s a Friday I’ll also show you how to do DataGrid editing at the same time. The downloadable sample code for this article contains files in both Vi
    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 a Details Popup Window Grid in a DataGrid
    DotNetJunkies
    This articles topic came from the suggestion of a true DotNetJunkie. He originally sent an email to us asking for an example illustrating how to make a HyperLinkColumn in a DataGrid spawn events that would pop up a new window with details of the row that the user clicked on. Before we could anwser his email he had already emailed us back explaining that he had found a way to do it and suggested a tutorial of his discovery. So, here it is!
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com