category

home / developersection / category

Add identity column in Datatable in C#
c# 01-Aug-2012
Add identity column in Datatable in C#

DataTable dt = new DataTable(;); DataColumn dcID = new DataColumn("ID", typeof(int)); dcID.AutoIncrement = true; dcID.AutoIncrementSeed = 1; dcID.AutoIncrementStep = 1;

ViewState in ASP.NET
c# 27-Jul-2012
ViewState in ASP.NET

When a form is submitted in classic ASP, all form values are cleared. Suppose you have submitted a form with a lot of information and the server comes back with an error. You will have to go back to the form and correct the information.

TextBox Validation in C#.Net
c# 13-Jul-2012
TextBox Validation in C#.Net

In some cases I want to restricted that my textbox accept only specific input which we want. That means in name’s textbox no one can enter special and numeric etc character. Like this salary’s textbox user entered only numeric values.

Interface in C#.Net
c# 10-Jul-2012
Interface in C#.Net

An interface contains only the signatures of methodsdelegates or events An interface looks like a class, but has no implementation. The only thing it

Abstraction in c# with example
c# 05-Jul-2012
Abstraction in c# with example

In object-oriented software, complexity is managed by using abstraction. Abstraction is a process that involves identifying the critical behavior of a

Delegate in .net
c# 05-Jul-2012
Delegate in .net

When we make an object of a class then we can access all function of a class and Base class functions too. Here we can see that a user can simple make

Creating RSS feed for website
c# 04-Jun-2012
Creating RSS feed for website

RSS stands for Really Simple Syndication or it's sometimes referred to as Rich Site Summary. It's an XML-based content format for distributing news, headlines, content, etc.

C# Partial Class
c# 19-May-2012
C# Partial Class

There are several situations when splitting a class definition is desirable:When working on large projects, spreading a class over separate files enab

C# Sort List Method
c# 18-May-2012
C# Sort List Method

This C# example shows how to sort elements in a List. Sample Program that uses Sort [C#] using System; using System.Collections.Generic; class P

C# SortedList Collection
c# 18-May-2012
C# SortedList Collection

Sample Program that uses SortedList C#

Hashtable in C#
c# 18-May-2012
Hashtable in C#

How to use a Hashtable in C#.

Parellel.ForEach Loop
c# 22-Apr-2012
Parellel.ForEach Loop

In this blog I will show you a small demonstration of Parellel.ForEach loop. You can take advantage of multi-core processors and execute foreach loops