Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

This code sample shows you how to display data sorted alphabetically based on the values in the database.

In this article we'll see how to specify the format of DateTime values extracted from the ADO.NET DataSet and to verify we will write formatted contents in xml file.

This article explains how to add functionality to add a counter column to the DataGrid.
The attached C# program can be used by users who dont have VS.NET IDE to generate the code for WebControls.

When working with Web applications, developers need to write two separate codes using Java Script and VB Script to validate user inputs.In this article we are going to see, how we can reduce the programmers effort on coding, reducing the execution process time and simplify the code handling and less number of lines in the coding.

Searching for the data and displaying the result in paging on the site it is important functionality for the web type applications.

In this article we'll see how to create a DataGrid column which displays the calculation of more than one field in the database table. The calculation could be addition, multiplication or even filtering rows.

In this article we are going to explore some new features of the generic data access supported by ADO.Net 2, and also we will have a look at generic collections and generic interfaces.

This article explains how to display data vertically rather than typically horizontal rows.

In this article we'll see how to change the color of column based on the column value.

This article shows you how to implement custom paging in ASP.NET DataGrid control.

This article shows you to take advantage of SortedList in data binding with Web Server controls.

This article shows you how to use DataGrid client side events including mouse over, on click and so on.

This article shows you how to change the color of a DataGrid row and format of date.

This article shows you how to change the header text of a DataGrid programmatically.
In this article, you will learn how to write c# code to scan a host computer, and determine if it is running Kazaa, the popular P2P file sharing program.
Using string might degrade the performance of your application. This article explains about what precautions you should take when you are going to use strings in your application.

This article shows you how create ASP.NET controls dynamically and fill data from a database.
Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.

This article shows you how to display single record per page and navigate through single record using ASP.NET.

Learn how to build scalable C# debugging output using StackFrame, reflection-based filtering, and ConditionalAttribute to remove debug calls from release builds.
The FACTORY METHOD PATTERN comes under the classification of Creational Patterns. The creational patterns deals with the best way to create objects.
In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.
To transform XML into HTML for use on a Web site or to transform it into a document that contains only the fields required you could use the XSLTransform class (found in the System.Xml.Xsl namespace).
OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
Another way to solve this problem is to utilize the System.Activator class and a factory pattern to create the concrete provider classes as was pointed-out in Dan Fox's article Design an Effective Data-Access Architecture (.netmagazine, vol. 2, no. 7).
The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes development process concerning garbage collection and performance.

This article and available source code shows how to edit and update a database record through a DataGrid control
This white paper shares vision and challenges in testing .NET applications. Never before, has any technology or framework tried bringing many disparate systems and languages under one roof for the benefit of enterprise applications.
Here are two classes that allocate resources, the first class needs to implement a custom destructor and standard Dispose, but the second class doesn't need either.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article