Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

What is Serialization?

It's the process of converting the object into a form so that it can be stored on a file, database,
or memory.

What is Deserialization?

deserialization is the reverse process of serialization. It is the process of getting back the
serialized object so that it can be loaded into memory

Example

 Binary Serialization

 XML Serialization

Label:
A label is just a control that can only show some text or image icons.

Link Label:
A link label is similar to label but it shows a blue hyperlink and when someone click on it then another web
page or form is displayed.

Example:
Common Properties of Label & Link label

Text Used to display text in label


Font Used to change font of text
Forecolor Used to change text color
Background Used to change background color

Textbox:
A Textbox control is used to display, or accept as input, a single line of text. It can also display
multiline text with multiline property. It can also be used with password property to hide
characters.
Example:

Common Properties Textbox

Text Used to display text in label


Font Used to change font of text
Forecolor Used to change text color
PasswordChar Text box will be used as password box.
Multiline Enable text box to display multiple lines
C# Button Control:
The button control is used commonly used to execute commands when it is
clicked. The code is hidden inside the button.

Example:

Example:
PictureBox Control
The Windows Forms Picture Box control is used to display images in bitmap, GIF , icon , or JPEG

formats.
The Color Dialog Control:
Color dialog control is used to pick a color of the font or background color.

The FontDialog Control:


It is used to select different kinds of fonts from font dialog box .
OpenFileDialog Control
An OpenFileDialog control is used to browse and select a file on a computer.

SaveFileDialog control
A SaveFileDialog control is used to save a file using Windows Save File Dialog.

Common Properties.

1. File name( select single file name)


2. File names ( select multiple files name)

.Net framework

The .Net framework is a revolutionary platform that helps you to write the following types of
applications:

 Windows applications
 Web applications
 Web services

The .Net framework applications are multi-platform applications. The framework has been
designed in such a way that it can be used from any of the following languages: C#, C++, Visual
Basic, Jscript, COBOL, etc.

The .Net framework consists of an enormous library of codes used by the client languages such as C#.
 ASP.Net
 Windows Forms
 Common Language Runtime (CLR)
 ADO.Net
 LINQ

C# is part of .Net framework and is used for writing .Net applications.

ASP.Net
ASP.NET is an open-source server-side web application framework designed for web
development.
DropDownList
The DropDownList is a web server control used to display a list of items. ASP.Net provide
built in DropDown List control. The user select an option from list of items. It is similar to a
cambo box.

Following are some important properties that are very useful.

SelectedIndex Gets or Sets the index of the selected item in the dropdown box.

SelectedItem Gets the selected item from the list.

Items Gets the collection of items from the dropdown box.

DataSource The data source that populates the items in the dropdown box. (Generally
used when you are dynamically generating the items from Database.)

Panel
Panel is a
container in which controls can be placed and organized. The panel can hide controls and a
form can have multiple panels.

Form
Form is also a container. We drag and drop controls on form. A panel can be placed on form but a
form cannot be placed in panel.

ListBox
Provides a list of items from which the user can make a selection by clicking one or more items.

Page Life Cycle:


When a page is requested by the user from the browser, the browser send request to server and get
response output but many things happen between this period. The periods between the request and
response of a page is called the "Page Life Cycle".

You might also like