Sunday, April 30, 2017

Cookies Insertion

Login Page

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label><asp:TextBox ID="NameTextBox"
            runat="server"></asp:TextBox><br/>
        <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label><asp:TextBox ID="PasswordTextBox"
            runat="server"></asp:TextBox><br/>
        <asp:CheckBox ID="CheckBox1" Text="Remember Me" runat="server" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text="Login" onclick="Button1_Click" />
    </div>
    </form>
</body>

For Main Page

<body>
    <form id="form1" runat="server">
    <div>
    <a href="Main.aspx">Home Page</a>
        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Gmail</asp:LinkButton>
    </div>
    </form>
</body>

For Profile

<body>
    <form id="form1" runat="server">
    <div>
    HI
        <asp:Label ID="WelcomeLabel" runat="server" Text=""></asp:Label><br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Signout</asp:LinkButton>
    </div>
    </form>
</body>

Cookies Demo in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label><asp:TextBox ID="NameTextBox"
            runat="server"></asp:TextBox><br/><br/>
        <asp:Button ID="Button1" runat="server" Text="GO TO NEXT"
            onclick="Button1_Click" />
    </div>
    </form>
</body>

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>

Friday, April 28, 2017

Computer Shortcuts Key for Special Character

Shortcut KeysSpecial Character
Alt+0224à
Alt+0232è
Alt+0236ì
Alt+0242ò
Alt+0241ñ
Alt+0228ä
Alt+0246ö
Alt+0252ü
Alt+0248ø
Alt+0223ß
Alt+0198Æ
Alt+0231ç
Alt+0191¿
Alt+0176°  (degree symbol)
Alt+0177±  (plus/minus symbol)
Alt+0153
Alt+0169©
Alt+0174®
Alt+0128€  (Euro currency)
Alt+0162¢  (Cent symbol)
Alt+0163£  (British Pound currency)
Alt+0165¥  (Japanese Yen currency)

Computer Shortcuts Key

Alt+FFile menu options in current program.
Alt+EEdit options in current program
Alt+TabSwitch between open programs
F1Universal Help in almost every Windows program.
F2Rename a selected file
F5Refresh the current program window
Ctrl+NCreate a new, blank document in some software programs
Ctrl+OOpen a file in current software program
Ctrl+ASelect all text.
Ctrl+BChange selected text to be Bold
Ctrl+IChange selected text to be in Italics
Ctrl+UChange selected text to be Underlined
Ctrl+FOpen find window for current document or window.
Ctrl+SSave current document file.
Ctrl+XCut selected item.
Shift+DelCut selected item.
Ctrl+CCopy selected item.
Ctrl+InsCopy selected item
Ctrl+VPaste
Shift+InsPaste
Ctrl+KInsert hyperlink for selected text
Ctrl+PPrint the current page or document.
HomeGoes to beginning of current line.
Ctrl+HomeGoes to beginning of document.
EndGoes to end of current line.
Ctrl+EndGoes to end of document.
Shift+HomeHighlights from current position to beginning of line.
Shift+EndHighlights from current position to end of line.
Ctrl+Left arrowMoves one word to the left at a time.
Ctrl+Right arrowMoves one word to the right at a time.
Ctrl+EscOpens the START menu
Ctrl+Shift+EscOpens Windows Task Manager
Alt+F4Close the currently active program
Alt+EnterOpen the Properties for the selected item (file, folder, shortcut, etc.)

Shortcuts Key

Copy - Ctrl + C
Cut - Ctrl + X
Paste - Ctrl + V
New - Ctrl + N
Save - Ctrl + S
Print - Ctrl + P
New Slide - Ctrl + M
Slide Show- F5
Left Alignment - Ctrl + L
Center Alignment - Ctrl + E
Right Alignment - Ctrl + R
Justify - Ctrl + J
Undo - Ctrl + Z
Redu - Ctrl + Y


Computer Quiz

Working with socrative

Thursday, April 27, 2017

Full Forms in Computer Science

GUI   -  Graphical User Interface

CUI  - character user interface

DOS - Disk Operating System 

MIPS - Million Instructions Per Second

RAM - Random Access Memory

ROM - Read Only Memory

Computer - Common Operating Machine Particularly used for Technological Engineering Research
CPU - Central Processing Unit 
PROM  - programmable read-only memory
EPROM - erasable programmable read-only memory
HDD - Hard disk drive
FDD - Flopy disk drive
I/O =Input/ Output
CD = Compact Disc 
DVD = digital versatile disc
SMPS = Switched-Mode Power Supply
POST =Power-On Self-Test 
BIOS =Basic Input/Output System
VDU =Visual Display Unit
LED = Light Emitting Diode
LCD =Liquid Crystal Display
USB =Universal Serial Bus
VGA =Video Graphics Array
LAN = Local Area Network
WAN =Wide Area Network
MAN =Metropolitan Area Network
HLL =HLL Lifecare Limited
CU - Control Unit
IBM - International Business Machines Corporation 
ENIAC- Electronic Numerical Integrator And Computer
LSIC- 
Large Scale Integrated Circuit
EDSAC- Electronic Delay Storage Automatic Calculator
DEC- Diethylcarbamazine Citrate
FORTRN- Formula Translation
UNIAC - UNIVersal Automatic Compute


How attach file in email

How to design form in ASP.NET

<body>
    <form id="form1" runat="server">
    <div style=" margin:auto; background-color: #293955; width:400px; height:300px; color: #800080;">
        <asp:Label ID="Label1" runat="server" Text="Sno"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="SnoTextBox"
            runat="server"></asp:TextBox><br/>
        <asp:Label ID="Label2" runat="server" Text="Name"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="NameTextBox"
            runat="server"></asp:TextBox><br>
        <asp:Label ID="Label3" runat="server" Text="FatherNmae"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox
            ID="FTextBox" runat="server"></asp:TextBox><br/>
        <asp:Label ID="Label4" runat="server" Text="DOB"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="DobTextBox"
            runat="server"></asp:TextBox><asp:ImageButton ID="ImageButton1"
            runat="server" onclick="ImageButton1_Click" /><br/>
        <asp:Label ID="Label5" runat="server" Text="Address"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="AddressTextBox"
            runat="server"></asp:TextBox><br/>
        <asp:Label ID="Label6" runat="server" Text="Sex"></asp:Label>&nbsp;<asp:CheckBoxList ID="SexCheckBoxList"
            runat="server">
            <asp:ListItem>Male</asp:ListItem>
            <asp:ListItem>Female</asp:ListItem>
        </asp:CheckBoxList>&nbsp; <br/>
        <asp:Label ID="Label7" runat="server" Text="Course"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:DropDownList
            ID="CourseDropDownList" runat="server">
            <asp:ListItem>C</asp:ListItem>
            <asp:ListItem>C++</asp:ListItem>
            <asp:ListItem>Java</asp:ListItem>
            <asp:ListItem>ASP.net</asp:ListItem>
        </asp:DropDownList><br/>
        <asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" />
        <asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC"
            BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest"
            Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px"
            onselectionchanged="Calendar1_SelectionChanged"
            onvisiblemonthchanged="Calendar1_VisibleMonthChanged" ShowGridLines="True"
            Width="220px">
            <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
            <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
            <OtherMonthDayStyle ForeColor="#CC9966" />
            <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
            <SelectorStyle BackColor="#FFCC66" />
            <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt"
                ForeColor="#FFFFCC" />
            <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
        </asp:Calendar>
    </div>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
    </form>
</body>

Adding Compare Field in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Enter Your Password"></asp:Label><asp:TextBox
            ID="PassTextBox" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server"
            ControlToValidate="PassTextBox" ErrorMessage="RangeValidator" MaximumValue="20"
            MinimumValue="10" SetFocusOnError="True"></asp:RangeValidator>
        <br/>
        <asp:Label ID="Label2" runat="server" Text="Confirm Password"></asp:Label><asp:TextBox
            ID="ConfrmTextBox" runat="server"></asp:TextBox><asp:CompareValidator ID="CompareValidator"
                runat="server" ErrorMessage="Password is not match"
            ControlToCompare="ConfrmTextBox" ControlToValidate="PassTextBox"
            EnableClientScript="False" SetFocusOnError="True">Main Password and confirm password is not match</asp:CompareValidator>
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    </div>
    </form>
</body>

Check List Demo in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ChangePassword ID="ChangePassword1" runat="server"
            onchangedpassword="ChangePassword1_ChangedPassword" Width="429px">
        </asp:ChangePassword>
    </div>
    </form>
</body>

Change password in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ChangePassword ID="ChangePassword1" runat="server"
            onchangedpassword="ChangePassword1_ChangedPassword" Width="429px">
        </asp:ChangePassword>
    </div>
    </form>
</body>

Adding Calander in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Date"></asp:Label><asp:TextBox ID="TextBox1"
            runat="server"></asp:TextBox><asp:ImageButton ID="ImageButton1"
            runat="server" onclick="ImageButton1_Click" />
    </div>
    <asp:Calendar ID="Calendar1" runat="server"
        onselectionchanged="Calendar1_SelectionChanged"
        onvisiblemonthchanged="Calendar1_VisibleMonthChanged"></asp:Calendar>
    </form>
</body>

Browse File in ASP.NET

<body>
    <form id="form1" runat="server">
    <div>
        <asp:FileUpload ID="FileUpload1" runat="server" />
    </div>
    </form>
</body>

How to add button in ASP.NET Form

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="Button1" runat="server" Text="Like" onclick="Button1_Click" />
        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>

Add Rotator Demo

<body>
    <form id="form1" runat="server">
    <div>
        <asp:AdRotator ID="AdRotator1" AdvertisementFile="~/viju.xml" runat="server" />
    </div>
    </form>
</body>