Pages

Web hosting
Showing posts with label visual studio 2008. Show all posts
Showing posts with label visual studio 2008. Show all posts

Friday, 4 April 2014

Asp.Net Basic Controls - Check Boxes

Check Box Control :

A check box displays a single option that the user can either check or unchecked. Check box provide more then one option and user can select more then one option at a time.


ASP Code :
          <asp:CheckBox ID="CheckBox1" runat="server" Text="Maruti" />

Property :
Property Description
Text The text displayed next to the check box
Checked Specifies whether it is selected or not, default is false
ForeColor Set font color of text in checkbox
TextAlign Set position of text left or right
Event :
Events Description
CheckedChanged Event occurs when selection change in checkbox

Other Control :
 
Label TextBox Button HyperLink
CheckBox CheckBoxList RadioButton RadioButtonList
Image ImageButton ImageMap Calender
DropDownList ListBox FileUpload

Thursday, 12 April 2012

How to start ASP.Net with Visual Studio 2008

Step: 1 Click on Start --> Microsoft Visual Studio 2008

Step: 2 Click on File --> New --> Web Site

            It open new window.
Step: 3 In new window  set Language : Visual C#
                                      set path : C:\ASP.Net\WebSite1
                                      click Ok


Step: 4 It open your first web site in Source mode.

          Now click on Design mode it open blank page.