Pages

Tuesday, September 6, 2011

How to use Log4net in project and handle the Exception

1.First one write the logger class in use log4net ddl  


2.Use to logger Exception handle  

3.Modifies conflagration in web.config

Thursday, September 1, 2011

C# with .net

How to use active record design pattern .net
Active Record pattern consists on instance properties representing a record in
the database,instance methods acting on that specific record and static methods
acting on all records.
this one is a sample method of the active record pattern.how write in class used for the method 

1.Create the public properties



2.Define the constructors


3.Write the public method with passing SP parameter




4.Finely populate the public properties