Pages

Web hosting

Sunday, 23 March 2014

Asp.Net Basic Controls - TextBox

TextBox Control:

  • Text box controls are typically used to accept input from the user. A text box control can accept one or more lines to text depending upon the setting of the TextMode attribute.

Asp Code:
        <asp:TextBox ID="txtstate" runat="server" ></asp:TextBox>
Property:
Property Description
Height Set height of label in px
Width Set width of label in px
TextMode SingleLine :
MultiLine :
Password :
ForeColor Set font color as your need
Font Set font style and attribute
BackColor Set label back ground color

Other Control :

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

Friday, 21 March 2014

Asp.Net Basic Controls - Label

Label Control:

  • Label controls provide an easy way to display text which can be changed from one execution of a page to the next. If you want to display a text that does not change, you use the literal text.

Asp code:
               <asp:Label ID="Label1" runat="server" Text="Your Name :"></asp:Label>
Property:
Property Description
Text Set Label text to display
Height Set height of label in px
Width Set width of label in px
ForeColor Set font color as your need
Font Set font style and attribute
BackColor Set label back ground color

Other Control :

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

Friday, 25 October 2013

Difference between GET and POST

Ch- 6 DWD
Difference between GET and POST


Sr. No
GET
POST
1
GET request is sent via the URL string (appended to the URI with a question-mark as separator), which is visible.
POST request is encapsulated in the body of the HTTP request and can't be seen.
2
GET request goes via URL, so it has a limitation for its length. It can't be more than 255 characters long.
POST request becomes a part of the body of the HTTP request and there is no size limitation.
3
GET request is comparatively faster as it's relatively simpler to create a GET request.
The time spent in the encapsulation of the POST request in the HTTP body is saved in this case.
4
Only ASCII characters allowed. GET request is sent via URL string and as we all know that URL can be text-only, so GET can carry only text data.
No restrictions. Binary data is also allowed. POST has no such restriction and it can carry both text as well as binary data.
5
GET is less secure compared to POST because data sent is part of the URL. Never use GET when sending passwords or other sensitive information!
POST is a little safer than GET because the parameters are not stored in browser history or in web server logs
6
Data is visible to everyone in the URL.
Data is not displayed in the URL.

Tuesday, 13 August 2013

DWD


Dynamic Web Development

Chapter - 4

  1. What is Scripting Language? Explain different VBScript
    control structures.                                         Marks-7
    
  2. Explain the difference of a Static Webpage and a Dynamic
    Webpage.                                                    Marks-7
    
Chapter-1      Chapter-2      Chapter-3
Chapter-5      Chapter-6      Chapter-7

Monday, 12 August 2013

DWD


Dynamic Web Development

Chapter - 3

  1. List different form elements and explain any three.          Marks-7
  2. What is Cascading Style Sheet? Explain different types
    of style sheet with example.                                Marks-7
  3. What is CSS? Explain Inline and Embedded style sheets
    with example.                                               Marks-7
  4. What is an HTML? Explain any three Text-Formatting tags
    with suitable example.                                      Marks-7
  5. Write short note on Frameset and Frame tag with suitable
    example.                                                    Marks-7
  6. Write short note on Image tag with suitable example.         Marks-7
 Chapter-1           Chapter-2

 Chapter-4           Chapter-5

 Chapter-6           Chapter-7
 

DWD


Dynamic Web Development

Chapter - 2

  1. 1. Explain applications of Internet.                    Marks-6
  2. 1. Explain following terms:(Each contain 2 marks)
    1. Web Server
    2. HTTP
    3. WWW
    4. FTP
    5. Search Engine
    6. TELNET
    7. Internet
 Chapter-1           Chapter-3

 Chapter-4           Chapter-5

 Chapter-6           Chapter-7

 

DWD


Dynamic Web Development

Chapter - 1

  1. Write short note on Web-Server and Web-Browse.            Marks-7
  2. 1. Explain following terms:(Each contain 2 marks)
    1. Web Server
    2. HTTP
    3. WWW
    4. FTP
    5. Search Engine
    6. TELNET
    7. Internet
 Chapter-2           Chapter-3

 Chapter-4           Chapter-5

 Chapter-6           Chapter-7

 

Monday, 22 July 2013

JavaScript Alert Box


JavaScript Alert Box

<!DOCTYPE html>
<html>
<body>

<h1>My First JavaScript</h1>

<p>
JavaScript can react to events. Like the click of a button:
</p>

<button type="button" onclick="alert('Welcome!')">Click Me!</button>

</body>
</html>
Try It Yourself >>