(Abhimanyu Kumar Vatsa) Anonymous types provide a convenient way to encapsulate a set of read-only properties into a single object without having to explicitly define a type first. The name is generated by the compiler and is not available at the source code level or our application cannot access it
Tag: Development
Call JavaScript function from ASP.NET Content Page
(Suprotim Agarwal) One of the frequently asked questions by developers on the forums is How to call a JavaScript function from an ASP.NET Content Page, especially when the JavaScript is kept in a separate .js file. Let us see one of the ways:
How to generate GridView columns dynamically based on user selection?
(Sheo Narayan) In case we have to give ability to the user to select the columns that should appear in the GridView, we can follow this approach.
Performing Query-Of-Queries Using ColdFusion 9’s Query.cfc Component
(Ben Nadel) A couple of people have asked me about running ColdFusion query-of-queries within the new script-based query object (Query.cfc) in ColdFusion 9. Because the new Query.cfc is an actual ColdFusion component, it introduces some new encapsulation and scoping limitations not previously presen
Working with URL Routing in ASP.NET Web Forms
(Bipin Joshi) While developing web sites, at times you require that the URLs being used are not mapped to any physical file. For example, you might be building a blog engine that stores all blog posts in a SQL Server database but while displaying these posts you want URLs to be SEO friendly.
Debug Load Errors with the Assembly Binding Log Viewer
(Peter Vogel) One of the most frustrating error messages that you can get when debugging your application is “File not found” when loading an assembly (or just instantiating a new class).
Generic Multi-Level Undo and Redo
Most modern software applications include undo and redo features. Undo allows one or more activities to be reverted. Redo allows previous undo actions to be reversed. This article explains how to create a generic, multi-level undo and redo class.
DataGridView – Saving and Reusing user settings
(Ged Mead) In the previous blog post, I showed how you can take the user’s choices for the row and alternate row colors of a DataGridView. Now, the final step we’re going to look at is how to store and recall those choices.
Working With the DataTable Class in C#
(Mukesh Kumar) A DataTable object represents tabular data as an in-memory, tabular cache of rows, columns, and constraints. You typically use the DataTable class to perform any disconnected data access. The DataTable is a central object in the ADO.NET library. Other objects that use the DataTable in
.NET Task Parallel Library Advanced Data Parallel
(Jeffrey Juday) Much of the .NET Task Parallel Library (TPL) Data Parallel functionality is encapsulated in Parallel Loops. Parallel Loops are conceptually similar to regular loops. Like a regular loop a Parallel Loop usually operates on a collection of data, performing a computation on each element
