| 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 Templated databound Repeater control with per-row template selection |
| The Code Project |
| This control allows you to select a template for each different row in your Repeater, based on the content of that row. |
|
| 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. |
|
| 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. |
|
| 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 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. |
|
| 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. |
|
| 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. |
|
| 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. |
|
| Summary Rows in DataGrid Controls |
| MSDN |
| The ASP.NET DataGrid control renders a multi-column, fully templated grid, and is the most versatile and flexible of all data-bound Web controls in the .NET Framework. The DataGrid's user interface resembles, to some extent, a Microsoft Excel worksheet. Despite its rather advanced programming interface and a full set of attributes, the DataGrid simply generates an HTML table with interspersed hyperlinks to provide interactive functionality, such as sorting and pagination commands. |
|