Frames and framesets <!DOCTYPE html> <html> <head> <title>Hospital Information</title> </head> <frameset rows="20%, 80%"> <frame srcdoc="<h2 style='text-align:center;'>Welcome to City Hospital</h2>"> <frameset cols="20%, 80%"> <frame srcdoc=" <h3>Menu</h3> <ul> <li><a href='home.html' target='contentFrame'>Home</a></li> <li><a href='services.html' target='contentFrame'>Services</a></li> <li><a href='contact.html' target='contentFrame'>Contact</a></li> </ul> "> <frame name="contentFrame" src="home.html"> </frameset> </frameset> </html> HOME PAGE : <!DOCTYPE html> <html> <head><title>Home</title></head> <body> <h2>Welcome to City Hospi...
Posts
.net 7
- Get link
- X
- Other Apps
Form1.cs using System; using System.Data; using System.Windows.Forms; namespace StudentRecordsApp { public partial class Form1 : Form { DataTable dt = new DataTable(); // DataTable to store student records public Form1() { InitializeComponent(); InitializeDataTable(); // Setup columns for DataTable } private void InitializeDataTable() { // Define columns for the table dt.Columns.Add("Student ID"); dt.Columns.Add("Name"); ...
.net 3,4
- Get link
- X
- Other Apps
Online mobile shop Site1.Master <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="OnlineMobilePhoneShop.Site1" %> <!DOCTYPE html> <html> <head> <title>Online Mobile Phone Shop</title> <link rel="stylesheet" type="text/css" href="Styles.css" /> </head> <body> <form id="Form1" runat="server"> <div class="header"> <h1>Online Mobile Phone Shop</h1> <nav> <a href="Default.aspx">Home</a> | <a href="Product.aspx">Products</a> | ...
net 1,2,8
- Get link
- X
- Other Apps
online examination system Site1.master <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="WebApplication20.Site1" %> <!DOCTYPE html> <style> body {font-family: Arial, sans-serif; margin: 0; padding: 0; text-align: center; } .header { background: #004080; color: white; padding: 15px; } .footer { background: #222; color: white; padding: 10px; position: absolute; bottom: 0; width: 100%; } nav a { color: white; text-decoration: none; margin: 0 10px; } </style> <html> <head> <title>Online Examination System</title> <...
net.ado.net
- Get link
- X
- Other Apps
ADO.net form1.cs using System; using System.Data; using System.Data.SqlClient; using System.Windows.Forms; namespace StudentsServiceDBApp { public partial class Form1 : Form { // Connection string to the database string connectionString = @"Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\USERS\ABISHEK\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\STUDENTSSERVICEDBAPP\STUDENTSSERVICEDBAPP\STUDENTS.MDF;Integrated Security=True"; public Form1() { InitializeComponent(); AppDomain.CurrentDomain.SetData("DataDirectory", @"C:\USERS\ABISHEK\DOCUMENTS\VISUAL STUDIO 2012\PROJECTS\STUDENTSSERVICEDBAPP\STUDENTSSERVICEDBAPP"); } // Load data into the DataGridView when the form loads private v...