.Net makes it very easy to bind its own data objects to data controls, but there are times when you may wish to bind a generic, or even custom data structure, to a data control. This tutorial will show you how to bind a generic data object and a custom class to data bound controls so that they behave exactly the same as the .Net native data structures.
In this tutorial we will look at implementing the cryptography object in C# to encrypt and decrypt information, either passwords or connection strings and prevent unauthorised eyes from prying at your passwords.
Microsoft .Net provides a powerful method for storing and retrieving user settings - something almost every application will at some stage need to do. This article will show you how to quickly and easily save settings to the Registry, to a SQL Database or to an XML file.
There are many reasons to create a table using a script, and a quick check if the table already exists will eliminate problematic errors, however Microsoft SQL Server does not provide a completely user friendly way for testing table existence.