tag

home / developersection / tag

Creating Static Methods in C#
c# 09-Feb-2013
Creating Static Methods in C#

Introduction:Static Methods are methods that can be accessed without creating instances of the class. Static methods supply the easy way to call the m

read html file and convert its content no to link as a anchor tag
c# 01-Feb-2013
read html file and convert its content no to link as a anchor tag

example:-  i have index page(html file) using for long shots, 6224p (progressive frame rate), 1835mm blow up, 8635mm film format, 17 now want to rea

Why Generics in C#
c# 17-Jan-2013
Why Generics in C#

In this blog I not tell you “What is generic class in C#?” you can read about generic from below link. Here I tell you “Why Generic in C# !”. First see below code:

Use of Using Keyword in C#
c# 17-Jan-2013
Use of Using Keyword in C#

We use “Using” keyword as directive in c#. “Using” keyword can be used for importing namespace to your classes. Example:Using System; Using Sy

ExecuteNonQuery, ExecuteReader and ExecuteScalar Methods in C#
c# 17-Jan-2013
ExecuteNonQuery, ExecuteReader and ExecuteScalar Methods in C#

ExecuteNonQuery Method:This method is commonly used for update, insert and delete statements, where the only returned value is the number of record af

ProgressBar in C#
c# 28-Sep-2012
ProgressBar in C#

A ProgressBar control is used to represent the progress of a lengthy operation that takes time where a user has to wait for the operation to be finished. Here I used ProcessBar Dynamically.

Interface
c# 11-Sep-2012
Interface

An interface defines the syntactical contract that all the derived class should follow. Especially the interface defines what part of syntactical contract, and the classes implementing the interface describe the how part of the contract.

Delegate
c# 11-Sep-2012
Delegate

Delegates in C# allow us to dynamically change the reference to the methods in a class. A delegate is a reference type variable, which holds the reference to a method.

Abstraction
c# 11-Sep-2012
Abstraction

Abstraction is used to create a common set of methods that might have different specific implementations by subclasses. Abstract class cannot be instantiated and consists of abstract methods without any implementations.

Generating Random Number and String in C#
c# 09-Aug-2012
Generating Random Number and String in C#

Often we have looking for generating random number or random string for some requirement such as captcha validation, sending password in email etc. He

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.