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.

C# histogram class maintains a histogram of input data. Input data is sorted into bins and a count is kept of how many data points fall into each bin.

The Equation Editor I created in C# allows you to create a few simple equations using the keyboard. With the editor you can open and save files of your equations.

The attached source code implements trapezoidal rule for numerical integration in C#.

Learn how to retrieve and display data in a DataGrid using ADO.NET SQL queries, stored procedures, and XML responses from web services.

I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.

The Basic II Stamp is programmed by the language its named after, Basic. The language is a combination of Basic syntax and built in key words that control the Basic Stamp II chip.

In this article we will explore a well-known AI algorithm for modeling the training of neural networks called back propagation.

The attached source code is a C# normal distribution class. The probability density function (PDF) and cumulative distribution function (CDF) can be computed for a given x-value.

If you ever browsed around the book store, you'll notice these puzzle books or IQ test books and some of the books contain questions asking you to complete a series of numbers.

The attached source code is a class - FormulaGenerator, which is a component that interprets and evaluate a string expression

An object is a memory stream, which is hard to write using the normal methods. In this article, I show how you can save objects in a database and read back from the database.

The PublicKeyTokenGenerator class and a small utility that generates Public Key Token from the Public Key using that class.

This application connects to a running SQL Server 2000 and displays all the available databases in it.

This article describes the Compact Genetic Algorithm (cGA) and how it can be used to calculate the square root of a floating point number.

Attached is a ZIP file containing the source-code and compiled DLL of the Application Data Utility Class.

This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images.

This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.

Here is an updated version of 'ReshuffleColumns' method of article DataGrid Customization by Mahesh Chand.

This example demonstrates a powerful feature of Reflection that will allow you to dynamically set the values of a class.

The Mimer Provider Manager uses different plugins to access different underlying ADO.NET providers. Plugins are developed for Oracle, SQL Server, ODBC, and OLE DB.

The attached source project is a data access layer library and the main idea of developing such a DAL is to separate the database execution from the client/end user and maintain it on the server side, there by reducing the number of direct simultaneous connection to the SQL Server.

In order to provide your application with cool pictures you can employ two techniques (at least). One of them is that you can save the pictures in a folder and store the path to each one in a database or configuration file. The other one is to store the entire file into a database, along with its file name.

Anonymous method is a new feature in C# 2.0 that allows you to define an anonymous method called by a delegate.

Learn ADO.NET security practices, including input validation, parameterized queries to prevent SQL injection, safe exception handling, and secure SQL Server connections.

The problem with the ADO.Net 1.x is that one thread has to wait for the other thread to complete. So to overcome this problem Microsoft has introduced Asynchronous data access, through which one can execute multiple threads at a time.

It's very common practice to use the Data Grid to present data over web pages. Though the Data Grid is provides the richer UI presentation if not coded and handled effectively it can have great performance issues. This article gives the code sample for navigating the data grid using the Client Scripting (thereby can be used for lots of validation before doing the Post Back to the server) and minimizing the round trip to server

How to have checkbox that is checked or unchecked depending on a field value stored in the Database, and then allow the user to click on it and record the new checkbox state in the database.

This article describes how to use the AnyButton server control and explains a few extra features.
In this Article we are going to use SOAP Header to authenticate the WebService users.
This is simple multi-threading program that draws circles and rectangles. Each shape is handle by individual thread that created every time you press start button. Using sleep method on each thread we can change the speed of each shape.
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