What is Validation Controls? When our web applications are interacting with the users and gets the data or user inputs their data, then our web apps has to confirm that the user input all the required data, to confirm that […]
What is Validation Controls? When our web applications are interacting with the users and gets the data or user inputs their data, then our web apps has to confirm that the user input all the required data, to confirm that […]
If you are facing the issue during the Login into the Microsoft SQL Server with local server credentials or SQLEXPRESS Credentials, then you can start Sql Server by applying the following few steps. Close the SQL Server Program. Open Control […]
If we want to design a contact form with file attachment and we will fill the information and send to the web administrator, then we have to follow the below steps: First of all we will create a new file […]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title> <asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server"> </asp:ContentPlaceHolder> </title> <style type="text/css"> ul { list-style-type:none; margin:0; padding:0; overflow:hidden; background-color:#333; } li { float:left; } li a, .dropbtn { display:inline-block; color:White; text-align:center; padding: 14px 16px; text-decoration:none; } li a:hover, .dropbtn { background-color:#333; display:block; } li.dropdown { display:inline-block; } .dropdown-content { display:none; position: absolute; background-color:Black; min-width:160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index:1; } dropdown-content a:hover { background-color:Red; } .dropdown:hover .dropdown-content { display:block; } ul.topnav li a.active { background-color:#4CAF50; } a.active { background-color:#4CAF50; } li.right { float:right; background-color:Red; } #copyright { background-color:Black; color:White; width:100%; height:5%; padding:1px; margin-top:450px; } </style> <asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder> </head> <body> <form id="form1" runat="server"> <div> <ul> <li><a class="active" href="#home">Home</a></li> <li><a class="active" href="#home">Universities</a></li> <li class="dropdown"> <a href="javascript:void(0)" class="dropbtn">Lecture</a> <div class="dropdown-content"> <a href="#link1">Link 1</a><br /> <a href="#link2">Link 2</a><br /> <a href="#link3">Link 3</a><br /> <a href="#link4">Link 4</a><br /> </div> </li> <li class="right"><a href="#about">About Us</a></li> </ul> <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> <div id="copyright"> <h4>All Right is Reserved by Tech Origin @2018</h4> </div> </div> </form> </body> </html> |
In this Article we are going to design a drop down menu for the website with the usage of master page. We will write down the Dropdown Menu code in Master page and that will be automatically shown on […]
If we want to design a contact form where we will fill the information and send to the web administrator, then we have to follow the below steps: First of all we will create a new file in website and […]
Below is the simple Console C# Program to find the Maximum and Minimum Value within an array. Find the Maximum and Minimum Value within an Array Program will ask the user to input the Size of the Array. Program will […]
The below code is for the simple calculator in C# Console Application, the below code will perform Plus, Minus, Multiply and Division Operation. OPERATIONS PERFORMED IN THE PROGRAM: First of the the Program will ask the First Number to be […]
In this video tutorial we are going to a beautiful flat digital clock in C# Windows Form Application. It will display current Time in Hour Minute and Seconds. Tools to be Used and their Properties: Labels: Lable 1: Name: lblTime […]
a windows form which input First Name and Last name in two text boxes and then full name should be displayed in third text box
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string a = textBox1.Text; string b = textBox2.Text; string c = a + " " + b; textBox3.Text = c; } |
Design a windows form which input First Name and Last name in two text boxes and then full name should be displayed in third text box using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; […]
Tech Origin is an ambitious multimedia effort founded in 2017 to examine how technology will change life in the future for a massive mainstream audience and also help out the IT Students.