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" />
<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/>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Signout</asp:LinkButton>
</div>
</form>
</body>
<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" />
<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/>
<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>
<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 Keys | Special 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+F | File menu options in current program. |
Alt+E | Edit options in current program |
Alt+Tab | Switch between open programs |
F1 | Universal Help in almost every Windows program. |
F2 | Rename a selected file |
F5 | Refresh the current program window |
Ctrl+N | Create a new, blank document in some software programs |
Ctrl+O | Open a file in current software program |
Ctrl+A | Select all text. |
Ctrl+B | Change selected text to be Bold |
Ctrl+I | Change selected text to be in Italics |
Ctrl+U | Change selected text to be Underlined |
Ctrl+F | Open find window for current document or window. |
Ctrl+S | Save current document file. |
Ctrl+X | Cut selected item. |
Shift+Del | Cut selected item. |
Ctrl+C | Copy selected item. |
Ctrl+Ins | Copy selected item |
Ctrl+V | Paste |
Shift+Ins | Paste |
Ctrl+K | Insert hyperlink for selected text |
Ctrl+P | Print the current page or document. |
Home | Goes to beginning of current line. |
Ctrl+Home | Goes to beginning of document. |
End | Goes to end of current line. |
Ctrl+End | Goes to end of document. |
Shift+Home | Highlights from current position to beginning of line. |
Shift+End | Highlights from current position to end of line. |
Ctrl+Left arrow | Moves one word to the left at a time. |
Ctrl+Right arrow | Moves one word to the right at a time. |
Ctrl+Esc | Opens the START menu |
Ctrl+Shift+Esc | Opens Windows Task Manager |
Alt+F4 | Close the currently active program |
Alt+Enter | Open 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
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
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-
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 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> <asp:TextBox ID="SnoTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label> <asp:TextBox ID="NameTextBox"
runat="server"></asp:TextBox><br>
<asp:Label ID="Label3" runat="server" Text="FatherNmae"></asp:Label> <asp:TextBox
ID="FTextBox" runat="server"></asp:TextBox><br/>
<asp:Label ID="Label4" runat="server" Text="DOB"></asp:Label> <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> <asp:TextBox ID="AddressTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label6" runat="server" Text="Sex"></asp:Label> <asp:CheckBoxList ID="SexCheckBoxList"
runat="server">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:CheckBoxList> <br/>
<asp:Label ID="Label7" runat="server" Text="Course"></asp:Label> <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>
<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> <asp:TextBox ID="SnoTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label> <asp:TextBox ID="NameTextBox"
runat="server"></asp:TextBox><br>
<asp:Label ID="Label3" runat="server" Text="FatherNmae"></asp:Label> <asp:TextBox
ID="FTextBox" runat="server"></asp:TextBox><br/>
<asp:Label ID="Label4" runat="server" Text="DOB"></asp:Label> <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> <asp:TextBox ID="AddressTextBox"
runat="server"></asp:TextBox><br/>
<asp:Label ID="Label6" runat="server" Text="Sex"></asp:Label> <asp:CheckBoxList ID="SexCheckBoxList"
runat="server">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:CheckBoxList> <br/>
<asp:Label ID="Label7" runat="server" Text="Course"></asp:Label> <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>
<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>
<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>
<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>
<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>
<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>
<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>
<form id="form1" runat="server">
<div>
<asp:AdRotator ID="AdRotator1" AdvertisementFile="~/viju.xml" runat="server" />
</div>
</form>
</body>
Subscribe to:
Posts (Atom)