Monthly Archives: May 2010

Populating a DataGridView with a DataTable

The DataGridView control is a simple way to display data in a tabular format in a Windows Forms application. This example populates a DataGridView control with data from an SQL query using the DataTable class. Getting Started Create a new … Continue reading

Posted in Databases | Leave a comment

Making an ADO.NET connection to a database with C#

This example uses the ADO.NET class library to connect to a SQL Server database and is based on a method described in Visual C# 2010  Step by Step by John Sharp. The database The database created for this example, msnotes, … Continue reading

Posted in Computers and Internet, Databases | 2 Comments

Playing with..

I am focusing my initial efforts on becoming familiar with the following software: IDE: Visual Studio Professional 2010 – primarily C# Scripting Language: Windows Powershell 2.0 Database Server: SQL Server 2008 R2 Developer Edition Operating System: Windows 7 Home Premium … Continue reading

Posted in Computers and Internet | 2 Comments

This blog

It’s been a long time since I’ve looked at the Microsoft stack as a programming environment. I’ve done some C programming on Windows using the Win32 API before but typically in a mixed environment, porting to other platforms, integrating with … Continue reading

Posted in Computers and Internet | Leave a comment