{ Published : December 18, 2013 // Post an Awesome Comment }
DataTable is most commonly used for Data binding. You may need to generate DataTable many times in the whole project. The best practice is to create a method.
In this tutorial, we are going to code a method getDataTable . Lets Start!
Namespaces required for...
Read More
{ Published : September 06, 2013 // Post an Awesome Comment }
You can find string in an array using two methods. (I know there are plenty of methods, but two methods are most common)
Method 1
You can loop each item of an array and compare each item of the array with the items that are to find. If match found it return true otherwise it returns...
Read More
{ Published : September 06, 2013 // Post an Awesome Comment }
In this tutorial, I’ll show you how to validate TextBox for Alphabets, Numbers or AlphaNumeric Values. If a TextBox is validated only for Numeric, It should not accept other characters. If its validated for alphabets it should not accept other characters. Its better to make methods for...
Read More
{ Published : June 13, 2013 // Post an Awesome Comment }
TreeView Control is most important and useful control. Basically TreeView control allows you to display data in hierarchical form. In this tutorial, you will learn, how TreeView Menu can be populated from databas. I’ll use User_Menu table to load data to...
Read More
{ Published : March 26, 2013 // Post an Awesome Comment }
16. The curly braces should be on a separate line and not in the same line as if, for, etc.
C#
if ( ... )
{
// Do something
}
1234
if ( ... ) {// Do something}
17. Use a single space before and...
Read More
{ Published : March 26, 2013 // Post an Awesome Comment }
11. Class & Method Names
Use Pascal casing for class names and method names like in following code example
C#
public class HelloWorld
{
void SayHello( string name )
{
...
}
}
1234567
public class...
Read More
{ Published : March 26, 2013 // Post an Awesome Comment }
Background
Software Engineering is a team activity where every individual is playing a vital role. Most successful software projects are granted for team players and not individual efforts. Purpose of this article is to familiarize developers involved to keep few things in mind while they are...
Read More