| 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 simple RadioButtonList in a Web DataGrid Column |
| The Code Project |
| A very simple and practical way, how a single RadioButton acts as a RadioButtonList in a web DataGrid server control column. |
|
| 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 and Using RadioButton to DataGrid in ASP.NET |
| The Code Project |
| Adding and using RadioButton to DataGrid in ASP.NET. |
|
| 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. |
|
| 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: How do I add a DropDownList to a DataGrid EditItemTemplate? |
| DotNetJunkies |
| I'm working with a DataGrid. When editing a row, I would like to have one
of my fields be a DropDownList. I would much rather be able to bind that DropDownList
to a table in a DataSet so when new key/values are setup in the database they
flow through to my aspx page without having to fuss with it. Please, example
in VB. |
|
| 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 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 DataNavigator Control |
| MSDN |
| The list of ASP.NET rich data-bound controls is a long one, but it's not all-encompassing. You won't find any Microsoft® .NET counterpart for the Data control—a scrollable and updateable binding context that data-bound controls could rely on to refresh their user interface. The original Data control allowed for simple movements—first, next, previous, and last. It worked on top of a Recordset object and exposed the UpdateRecord method to save changes according to the capabilities of the currently selected type of cursor. While not the perfect programming tool, the Data control was especially good at building simple user interfaces for tables used internally for administrative purposes. |
|
| 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 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. |
|
| Confirm Delete Inside a System.Web.UI.WebControls.DataGrid Control |
| ASP Alliance |
| One of the frequently asked questions over at AspFriends.com is "How can I show an alert box when a user tries to delete a row in a DataGrid?". This article answers that question. |
|
| 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. |
|
| Creating an ASPWire News Business Object Part 1 |
| DotNetJunkies |
| This article is part 1 of 2. In this article I will be illustrating how to use members of the System.Net namespace to create a business object that "Gets" all news headlines that ASPWire has available, parses through the return, constructs a DataSet object that holds a DataTable of all news items, and finally returns a DataView that you can bind to. We also make use of Page Caching to limit our request for the data to 3 times per day. We cannot give all the code necessary for you to run this example on you |
|
| Creating an ASPWire News Object Part 2 |
| DotNetJunkies |
| Upon further thought creating a web service based on the ASPWire example in Part 1 of this article would not be that beneficial to sites like ours unless we were ASPWire. I do show the code in this article to create the web service, but it would be easier and more cost efficient to create the business object from part 1 and use that. Besides creating the web service in this article I am going to be demonstrating a better method of caching and reusing the DataSet returned by the business object from part 1. |
|