Website development and design blog, tutorials and inspiration


C# Tutorials for people who wish to learn the Microsoft .Net Framework and C# language. We take you from the basic programming concepts all the way through to advanced object orientation techniques, scalable solutions and multi-tier applications.


How to Download Files With C# from a Web Server
26th June 2010C#
Microsoft .Net framework provides a set of classes that manage Internet communications and one, in particular, can be used to download a file from the internet to the local hard drive. This can be used to download a data set, for example, or to download program updates.
Creating Controls for Windows Forms and C#
4th June 2010C#
Just like ASP.Net, Windows forms allow the creation of custom controls to extend or enhance existing controls or to create brand new functionality.
Windows Vista Style Glass Buttons in .Net Forms
2nd June 2010C#
This downloadable class lets you add a Windows Vista style glass button to your Windows Forms projects. You can change the colours and add rounded corners, the font is nicely anti-aliased as well.
Calling IBM iSeries RPG Programs with SQL Stored Procedures and C#
26th May 2010C#
In this tutorial, we will look at calling IBM iSeries RPG programs with SQL stored procedures. I have found this method to be the best, both in terms of flexibility, scalability and performance.
Using C# to Add an ODBC System DSN
24th May 2010C#
This short snippet can be used to add ODBC system DSN data source on the fly without having to enter Windows Control Panel to configure manually.
Calling IBM iSeries RPG from C# using API Calls
24th May 2010C#
This tutorial will show you how to use the IBM supplied CWBX library to communicate with an iSeries using API calls for calling RPG from C#
Converting To and From Unix Timestamps
7th May 2010C#
From time to time it is necessary to convert to and from Unix timestamps, mainly when dealing with system interoperability. These timestamps are an accurate measure of time from a given point and have a simple data type.
Sending Email via SMTP and C#
16th March 2010C#
There are a million and one reasons why you would need to send an email from within C# code - from sending an order confirmation through to error reporting. In this tutorial we will look at constructing an email message, adding attachments and sending email using the SMTP protocol.