Category

ASP.NET

ASP.NET
November 9, 2011

How to make databse connectivity in ASP.NET?

Please add the follwoing code in you sample.cs page. Step 1 : Add Namspace "using…
Read More
ASP.NET
October 9, 2010

session state

<sessionState mode=”SQLServer”stateConnectionString=”tcpip=192.168.1.1:42424"sqlConnectionString=”data source=192.168.1.1; IntegratedSecurity=SSPI”cookieless=”false”timeout=”20"/>
Read More
ASP.NET
October 6, 2010

Web.Config Setting

<configuration><appSettings><add key="ConnectionString" value="server=abc;pwd=password;database=TEST" /></appSettings>This is global configuration setting for database.This setting you can use any  page.
Read More
ASP.NET
October 6, 2010

ASP.NET Life Cycle

Page_Init-->LoadViewState-->LoadPostData-->Page_Load-->RaisePostDataChangedEvent-->RaisePostBackEvent -->Page_PreRender-->SaveViewState -->Page_Render -->Page_UnLoad Page_loadEvent guarantees that all controls are fully loaded.In Page_Initevents controls are also…
Read More
ASP.NET
October 6, 2010

Abstract Class and Interface

Abstract classes can have concrete methods while interfaces have no methods implemented.Interfaces do not come in…
Read More