| 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>. |
|
| 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. |
|
| Adding a Blank Row to a DataGrid (Used to INSERT rather than UPDATE) |
| DotNetJunkies |
| In this article we will be illustrating one way to add a blank row to a DataGrid. Why would you want to do this? Who knows, maybe to enable a user to add a new record. This article will show you how to add a new row to a DataGrid by manipulating its DataSource - in this example a DataTable. Note that we will be simulating saving the new item back to the
database. |
|
| Advanced Data Mapping in .NET |
| DotNetJunkies |
| In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties. |
|
| 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. |
|
| 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. |
|
| 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 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 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 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 Fully Editable DataGrid |
| DotNetJunkies |
| In this example I have written a simple WebForm to manage a list of contacts which I have stored in XML. The requirements are simply the ability to add new contacts and to be able to modify or delete existing contacts. The user should be able to modify or delete multiple contacts at one time. I have also allowed the user to sort their grid by the column of their choosing. |
|
| Data Points - Managing Hierarchical Inserts in ASP.NET and ADO.NET |
| MSDN |
| Manage and persist user input before it's committed to the database |
|
| Datagrid Common operations include editing, updating, deleting |
| The Code Project |
| Datagrid Common operations include editing, updating, deleting |
|
| DataGrid Foreign Event Handling |
| DotNetJunkies |
| DataGrids seem to be very popular among all ASP.NET developers these days. I've seen whole series of articles and a lot powerful custom controls released for it. I personally think they are great as long as you manage your ViewState size and don't try to think too much outside the box, or grid in this case. Anyhow, one thing that has bothered me is that it isn't easy to wire up events like, OnSelectedItemIndexChange, in template columns containing controls like the RadioButtonList or DropDownList. |
|
| DataList vs. DataGrid in ASP.NET |
| MSDN |
| This month I want to look at two of the more specialized controls that come with the ASP.NET Framework: the DataList and the DataGrid. Both of these controls are full-featured data-managing tools. In addition to providing a simplified UI programming model for displaying data, ASP.NET includes facilities for binding data sources to these controls so you don't have to write all the code necessary to fish around a database and present your content. This month I'll compare and contrast the DataGrid and DataList controls, starting with DataGrid. |
|
| Dynamically Changing the Color of Edited Items in a DataGrid |
| DotNetJunkies |
| In this article we will illustrate how to change the font color of all items that have been edited in a DataGrid. Essentially, it works like this: A user edits item one in a DataGrid. After the item has been successfully updated the next time the page is rendered (within the same session) the edited items text will be red and bold. The user can then edit an additional item (Item 23) and that also will be red and bold. So now, both item 1 and 23 will be red and bold
so the user can visually see what items h |
|
| Editing a Data Grid Control |
| ASP Alliance |
| Modifying / Editing records in a table is as simple as that with the help of editable datagrid. In this article, we will see, what should we need to create an editable datagrid. |
|
| Editing with the ASP.NET DataGrid |
| DotNetJunkies |
| What if you have bound data to a DataGrid, which has ID, name, address columns. But you want the key field as a href so that by clicking on the ID, you can take the user to another page where you can let him edit that record. Doug explains how easily the ASP.NET DataGrid server control enables editing of records. |
|
| 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. |
|