State Managment In Asp.net 2.0
State Management: It maintain the information about the client towards the server is called State Management
They are 2 Type
1) Client side State Management : It Store Information at client Computer by embedding information in the
Web page
I)View State:It use track value of the control .Stores information in hidden field
II)Control State:It use in custom control to run view state properly.
III)Hidden fileds:It is like a View State.It store information in Html Form
IV)Cookies:It useto store state data that must avialiable on multiple pages.It stores state in
Browser
V)Query String :I t is use send email or instant Message state data with url .It stored
data in URL
2) Server side State Managemnent:It store information at server side.Sharing information between web pages without sending data to client
I) Session State: The Information available to all pages by logged user during single visit
II) Application State: The information is available to all pages regardless of user
Note :Session state & Application state are lost when apllication retart to presit use profile propertires
SqlServer Database BackUp and Restore
1) Copy 2 files. from SouceSystem Databasename.mdf , Database.ldf from installed sql server
folder (path:c:\program files]microsoftSql server\Data\datbasname.mdf)
2) Create a Database in Destination system .
3) Past 2 file in installed sql server location
(path:c:\program files]microsoftSql server\Data\datbasname.mdf)
4) Right click on destination database then click to attach datbase/files
5) Select appropriate databasename. mdf file
Note:Assume sql server installed in C Drive .Path can vary