Login System Video Tutorial Part 2
Here's the continuation of the 2nd part of the Login System video tutorial.
- Read more about Login System Video Tutorial Part 2
- Log in or register to post comments
- 20 views
Here's the continuation of the 2nd part of the Login System video tutorial.
This tutorial is part of Database Programming Made Easy Series.
With few modification from the previous tutorial you will learn how to fill combo box with data.
I am using Datasets and Data Adapters to connect to our database.
using System.Security.Cryptography;
write a simple function "GetUniqueKey"
private string GetUniqueKey()
{
int maxSize = 8;
int minSize = 5;
char[] chars = new char[62];
string a;
using System.Text.RegularExpressions;
public class IPAddressTextBox: RegExTextBox
{
public IPAddressTextBox()
{
InitializeComponent();
this.ValidationExpression = @"^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$";
Definition:
“When an unusual, irregular, abnormal or nonstandard condition arises in a sequence of code at run time this phenomenon is referred as Exception handling”
An exception is a runtime error.
In Object Oriented, an exception is an object that is used to describes an exceptional condition that has occurred in a piece of code.