| 10 Tips for Great .NET Programming |
| .NET Magazine |
| I’ve compiled a list of 10 tips to make your .NET development more effective and productive. To help as many developers as possible, the tips span the technology’s whole spectrum—from ADO.NET to ASP.NET, from the CLR to the Framework, and from Windows Forms to Web Services. Here they are, counting up to the ones I anticipate will have the most impact. |
|
| A Simple DataGrid Row Tooltip For Beginners. |
| The Code Project |
| A Simple DataGrid Row Tooltip For Beginners. |
|
| 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. |
|
| 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 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. |
|
| 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. |
|
| Adding Blank Rows to a DataGrid |
| DotNetJunkies |
| In one application I had the requirement to add a blank row after every 10 rows in a DataGrid rather than use paging. There is no in-built way to do this with the DataGrid, but it can be easily done by modifying the DataTable that the DataGrid is bound to and by writing some code in the DataGrids ItemDataBound event. This how-to article will describe how it is done. |
|
| Advanced Checkbox Validation Across n-Pages for the DataGrid Control |
| DotNetJunkies |
| In this article, Oliver shows how to select up to two records from a datagrid that can then be compared to generate a PDF document on the fly. |
|
| 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: 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 Extended DataGrid UI Features |
| The Code Project |
| The ASP.NET DataGrid Server Control is a versatile control. The control displays data bound information in a HTML table. There are several key UI features that the DataGrid does not have. For instance, many HTML tables that show data in a list, change the color of the row when the mouse hovers over. |
|
| Building a Full-Featured Custom DataGrid Control |
| DotNetJunkies |
| In this article, we will examine and implement these very features and demonstrate how you can build your very own Datagrid control component, one that you will be able to customize, and more importantly reuse. Based on this ability, you will then end up with one powerful control that will have many implementations, from which you could learn about creating almost any other types of custom controls. |
|
| 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 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. |
|
| 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. |
|
| Data Binding Techniques |
| FLWS.com.au |
| Recently I've been asked how to use data binding when you need to conditionally display information based on what is being output from the data binding operation. Data binding seems great if all you want to do is display a spreadsheet of information on a page, but what about if you only want to display FieldA if FieldB has a certain value? Or, what about if FieldC needs to display a value that is derived from the Sum of FieldD & FieldE? |
|
| Data Binding Techniques |
| FLWS.com.au |
| Data binding seems great if all you want to do is display a spreadsheet of information on a page, but what about if you only want to display FieldA if FieldB has a certain value? Or, what about if FieldC needs to display a value that is derived from the Sum of FieldD & Field? In this article I'd like to present one of the ways that I go about solving these issues. |
|
| DataGrid Output Formatting |
| DotNetJunkies |
| In this article I will demonstrate how to use two different techniques to modify the output and formatting of your data. I will show you how to use a helper function to change the data displayed. After that, I will explain how to use the OnItemDataBound event of the DataGrid to modify the data and the formatting of the grid. |
|
| Displaying Images from SQL Server database in ASP.NET DataGrid |
| .netBips |
| ASP.NET DataGrid web control can be bound quickly with any database table like SQL server. For most of the data types all you need to do is to add a bound column and set its datafield property to the column name from the table. However, displaying image data type i.e. binary data is not that easy. It requires some kind of extra coding from developer's side to make that work. In this article we will see how to do just that. |
|
| Dynamically Calculating in a DataGrid |
| DotNetJunkies |
| In this quick real world example, Luis explains how to dynamically generate Miles Per Gallon in a 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 |
|
| 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. |
|
| Handling events of child controls inside a DataGrid |
| The Code Project |
| How to hook up on a event of a web control residing inside a datagrid cell. |
|
| Handling events of child controls inside a DataGrid |
| The Code Project |
| How to hook up on an event of a web control residing inside a DataGrid cell. |
|