We can easily generate a unique Random number by using the inbuilt class "RNGCryptoServiceProvider".For doing this simply add class namespace to the header of the code-behind. 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;
Language: 
Tips1# Validate an IP address We can easily validate an IP address by Adding Namespace 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])$";
Some time we got stuck in some situation in which we have to import large amount of data into the database but it can be cumbersome task if it is entered from a web form. This type of problem can be solved by importing excel data into MS-SQL Sever database. Let me explain the thing one by one
Submitted by: 
What is an Exception? 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. When an exception arises, an...
Submitted by: 
I am beginner of this programming language,,,i hope it can help to those who are also beginners like me..."This software application that i've created was the latest application i've ever made.."tnx and GOD BLESS... ADMINISTRATOR UNAME: da-1 ADMINISTRATOR PWORD: da-1
Submitted by: 
Sample Script how to open a electronic Cash Drawer without any dll. Just connect through Epson TM series Receipt Printer. Great for developing Point of Sale. Hope ypu like it. For custom Softwares/ design Projects for Engineering Students Mobile +639155338048 Blog Site http://freeprogrammingtricks.blogspot.com//a> Facebook Fan Page http://www.facebook.com/emondsoft/ Skype
Submitted by: 
Sometimes we have to design those pages which have different color schemes but it is very difficult to maintain these types of pages. We can overcome from this situation by using skins and themes. This makes these things easier. 1). First create a Master Page having the following components. * One Content Placeholder 2).Create another page (default.aspx) and select the Master Page
Language: 
In ASP.NET, we can easily convert the Domain names to its related IP address like if a website like planetsourcecode.in has a domain name i.e planetsourcecode.com, It has also a corresponding Internet Protocol Address like 208.111.14.112. this can be easily done in ASP.NET using C# Steps for doing this: 1). First we have to include the namespace for this class Using System.net;
Submitted by: 
Definition: In java programming language, an interface is an abstract, conceptual or concrete type that is used to specify an interface. How to use an interface: By using the key word interface , we can fully abstract a class interface from its implementation. It means that, using interface , we can specify what a class must do, but not how it does it . Interfaces are syntactically similar to...
Submitted by: 
What is inheritance? Inheritance is a process which allows inheriting the methods and properties of parent or super class. OR Deriving an object from an existing class (super class) Why inheritance? In order to implement tree like structure To implement parent child relationship It makes possible the reusability of already existing class It makes possible for a child to inherit all the properties...

Pages