Balvant4u.files.wordpress.com



Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyCERTIFICATEThis is to certify that this practical report / assignments for the subject .Net Programming and paper code CS4-2 submitted for the fulfilment of the partial requirement of M.Sc. Computer Science Semester - IV University examination of SRTMU, Nanded is a record of study / work carried out by Mr. Biradar Balvant Venkatrao for the academic year 2014-15. Subject In charge Head of the Department School of Technology School of TechnologyINDEXSR.NOPRACTICALSPAGE NO.REMARKSSIGN1to perform basic arithmetic operations using Console program3-42to Calculate Grade using Console Program5-73to Check Given Number is a Prime number or not using Console Program8-94to print fibonacci series upto 100 using Console Program10-115to check given no is palindrome or not using Console Program12-136to find factorial using recursive function using Console Program14-157to perform array operations using Windows form16-198to Display message using messagebox,label,button control using windows form20-219to create registration form using windows forms22-2310to demonstrate use of methods and properties of combo box using windows forms24-2511to design MDI Application having 2 menus File and Format with options26-2712to design application to change fore and back color of textbox28-2913to show the use of radio button and check box using windows forms30-3214to design Simple Website blog33-3715to design Login view using 38-39Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___01____Aim: The Console program to Perform all Basic Arithmetic Operations / to design Arithmatic Calculator ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * C# Program to Perform all Basic Arithmetic Operations / Arithmatic Calculator */using System;using System.Collections.Generic;using System.Text;namespace Program{ class Program { static void Main(string[] args) { int Num1, Num2, result; char option; Console.Write("Enter the First Number : "); Num1 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Second Number : "); Num2 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Main Menu"); Console.WriteLine("1. Addition"); Console.WriteLine("2. Subtraction"); Console.WriteLine("3. Multiplication"); Console.WriteLine("4. Division"); Console.Write("Enter the Operation you want to perform : "); option = Convert.ToChar(Console.ReadLine()); switch (option) { case '1': result = Num1 + Num2; Console.WriteLine("The result of Addition is : {0}", result); break; case '2': result = Num1 - Num2; Console.WriteLine("The result of Subtraction is : {0}", result); break; case '3': result = Num1 * Num2; Console.WriteLine("The result of Multiplication is : {0}", result); break; case '4': result = Num1 / Num2; Console.WriteLine("The result of Division is : {0}", result); break; default: Console.WriteLine("Invalid Option"); break; } Console.ReadLine(); } }}OUTPUT:Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___02____Aim: Console Program to Calculate Grade depending on inpuut marks. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Console Program to Calculate Grade depending on marks */using System;using System.Collections.Generic;using System.Text;namespace Program{ class Program { static void Main(string[] args) { int Num1, Num2,Num3,Num4,Num5,Num6,total; float percentage; char option; Console.WriteLine("Enter the Marks of all subjects: "); Console.Write("Enter the Subject1 Marks : "); Num1 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Subject2 Marks : "); Num2 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Subject3 Marks : "); Num3 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Subject4 Marks : "); Num4 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Subject5 Marks : "); Num5 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the Subject6 Marks : "); Num6 = Convert.ToInt32(Console.ReadLine()); total = Num1 + Num2 + Num3 + Num4 + Num5 + Num6; percentage = total / 6; if (percentage > 75) { option = '1'; } else if (percentage > 60) { option = '2'; } else if (percentage > 50) { option = '3'; } else if (percentage >= 35) { option = '4'; } else { option = '5'; } Console.WriteLine("The RESULT of Student with GRADE :"); Console.WriteLine("Subject1 Marks : {0}", Num1); Console.WriteLine("Subject2 Marks : {0}", Num2); Console.WriteLine("Subject3 Marks : {0}", Num3); Console.WriteLine("Subject4 Marks : {0}", Num4); Console.WriteLine("Subject5 Marks : {0}", Num5); Console.WriteLine("Subject6 Marks : {0}", Num6); Console.WriteLine("TOTAL Marks : {0}", total); Console.WriteLine("PERCENTAGE : {0}", percentage); switch (option) { case '1': Console.WriteLine("Grade: First Class with Distinction"); break; case '2': Console.WriteLine("Grade: First Class"); break; case '3': Console.WriteLine("Grade: Second Class"); break; case '4': Console.WriteLine("Grade: Third Class"); break; case '5': Console.WriteLine("F A I L"); break; default: Console.WriteLine("Invalid GRADE"); break; } Console.ReadLine(); } }}OUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___03____Aim: To Check Whether the Given Number is a Prime number or not using Console Program. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * C# Console Program to Check Whether the Given Number is a Prime number or not */using System;namespace prime{ class prime { public static void Main() { Console.Write("Enter a Number : "); int num; num = Convert.ToInt32(Console.ReadLine()); int k; k = 0; for (int i = 1; i <= num; i++) { if (num % i == 0) { k++; } } if (k == 2) { Console.WriteLine("Entered Number is a Prime Number"); } else { Console.WriteLine("Not a Prime Number"); } Console.ReadLine(); } }}OUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___04____Aim: To print fibonacci series upto 100 using Console Program. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * C# Console Program to print fibonacci series upto 100 */using System;namespace myclass{ class myclass { static void Main() { int fn = 0; int sn = 1; int tn = 1; Console.WriteLine(" " + fn); Console.WriteLine(" " + sn); while (true) { tn = fn + sn; if (tn >= 100) { break; } Console.WriteLine(" " +tn); fn = sn; sn = tn; } Console.Read(); } }}OUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___05____Aim: To check given no is palindrome or not using Console Program. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * C# Console Program to check given no is palindrome or not */using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace PalindromeNumberOrNot{ class PalindromeNumberOrNot { public static void Main() { Console.WriteLine("***** Palindrome Number Check Example ****"); Console.WriteLine("Enter Number to Want to check"); int numberToCheck = int.Parse(Console.ReadLine()); int lenthOfNumber = numberToCheck.ToString().Length; double reminder = 0; double sum = 0; int tempNo = numberToCheck; while (tempNo > 0) { reminder = tempNo % 10; sum = sum * 10 + reminder; tempNo = tempNo / 10; } if (sum == numberToCheck) { Console.WriteLine("The given Number {0} is a Palindrome", numberToCheck); } else { Console.WriteLine("The given Number {0} is NOT a Palindrome", numberToCheck); } Console.ReadLine(); } }}OUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___06____Aim: To find factorial using recursive function using Console Program. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * C# Console Program to find factorial using recursive function */using System;using System.Collections.Generic;using System.Text;namespace Program{ class Program { static int Fact(int n) { if (n <= 1) return 1; return n * Fact(n - 1); } static int Factorial(int n) { if (n <= 1) return 1; int result = 1; for (int i = 2; i <= n; i++) { result = result * i; } return result; } static void Main(string[] args) { Console.Write("Enter a Number to find factorial: "); int n = Convert.ToInt32(Console.ReadLine()); int r = Fact(n); Console.WriteLine(n.ToString() + "! = " + r.ToString()); Console.ReadLine(); } }}OUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___07____Aim: To perform array operations like add, edit, delete etc using List Box in windows application. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Program to perform array operations */Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try ' Adding items to Listbox1 ListBox1.Items.Add("Amit") ListBox1.Items.Add("Sumit") ListBox1.Items.Add("Ramit") ListBox1.Items.Add("Kapil") ListBox1.Items.Add("Sahil") Catch ex As Exception End Try End SubPrivate Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.Close() End SubPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try If ListBox1.Text = "" Then MsgBox("ListBox1: Please select an item first..") Else Dim a As Integer ' variable 'a' will contain the index of the selected item a = ListBox1.Items.IndexOf(ListBox1.Text) ' code to add item to listbox2 ListBox2.Items.Add(ListBox1.Items.Item(a)) ' code to remove item from listbox1 ListBox1.Items.Remove(ListBox1.Items.Item(a)) End If Catch ex As Exception End Try End SubPrivate Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim a As Integer Try If ListBox2.Text = "" Then MsgBox("ListBox2: Please select an item first..") Else a = ListBox2.Items.IndexOf(ListBox2.Text) 'code to add item to listbox1 ListBox1.Items.Add(ListBox2.Items.Item(a)) 'code to remove item from listbox2 ListBox2.Items.RemoveAt(a) End If Catch ex As Exception End Try End SubPrivate Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim a As Integer a = ListBox1.Items.IndexOf(ListBox1.Text) TextBox1.Text = ListBox1.Items(a) Button6.Enabled = True End SubPrivate Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Try If TextBox1.Text = "" Then MsgBox("Please enter the item in Text Box to add") TextBox1.Focus() Else ListBox1.Items.Add(TextBox1.Text) End If Catch ex As Exception End Try End SubPrivate Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim a As Integer Try If ListBox1.Text = "" Then MsgBox("ListBox2: Please select an item first..") Else a = ListBox1.Items.IndexOf(ListBox1.Text) 'code to delete item to listbox1 ListBox1.Items.RemoveAt(a) End If Catch ex As Exception End Try End SubPrivate Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim a As Integer Try If TextBox1.Text = "" Then MsgBox("Please select the item to edit") TextBox1.Focus() Else ListBox1.Items.Add(TextBox1.Text) a = ListBox1.Items.IndexOf(ListBox1.Text) ListBox1.Items.RemoveAt(a) End If Button6.Enabled = False Catch ex As Exception End Try End SubEnd ClassOUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___08____Aim: To Display message using messagebox,label,button control using windows forms. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Program to Display message using messagebox,label,button control */Public Class Form1Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label2.Text = TextBox1.Text MsgBox(TextBox1.Text) End SubEnd ClassOUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___09____Aim: To create registration form using windows forms and controls. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Program to create registration form */Public Class Form2Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickIf TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" Then MsgBox("Please fill all details and try again") TextBox1.Focus() Label6.Text = "Please fill all details and try again" Else MsgBox("Record Saved Successfully...") Label6.Text = "Record Saved Successfully..." End If End SubEnd ClassOUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___10____Aim: To demonstrate use of methods and properties of combo box using windows forms. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Program to demonstrate use of methods and properties of combo box */Public Class Form3Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Dim a As Integer If ComboBox1.Text = "DA@20%" Then a = TextBox2.Text * 20 / 100 Label2.Text = "DA=" Label5.Text = a End If If ComboBox1.Text = "HRA@50%" Then a = TextBox2.Text * 50 / 100 Label2.Text = "HRA=" Label5.Text = a End If If ComboBox1.Text = "TA@15%" Then a = TextBox2.Text * 15 / 100 Label2.Text = "TA=" Label5.Text = a End If If ComboBox1.Text = "IT@20%" Then a = TextBox2.Text * 20 / 100 Label2.Text = "IT=" Label5.Text = a End If End SubPrivate Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load TextBox1.Focus() End SubEnd ClassOUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___11____Aim: MDI Application having 2 menus File and Format with options. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * MDI Application having 2 menus File and Format with options */Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___12____Aim: Developing an Application to change fore and back color of textbox. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Application to change fore and back color of textbox */Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.ForeColor = Color.Red End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click TextBox1.ForeColor = Color.Green End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click TextBox1.ForeColor = Color.Blue End Sub Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click TextBox1.BackColor = Color.Red End Sub Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click TextBox1.BackColor = Color.Green End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click TextBox1.BackColor = Color.Blue End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load TextBox1.Text = "This applicatin allows you to change the fore and back color....This application is Created by Balvant Biradar" End SubEnd ClassOTUPUT:Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___13____Aim: To show the use of radio button and check box using windows forms. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology/* * Application to show the use of radio button and check box */Public Class Form2Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label3.Text = "" Label5.Text = "" If CheckBox1.Checked = True Then Label3.Text = Label3.Text + CheckBox1.Text + ", " End If If CheckBox2.Checked = True Then Label3.Text = Label3.Text + CheckBox2.Text + ", " End If If CheckBox3.Checked = True Then Label3.Text = Label3.Text + CheckBox3.Text + ", " End If If CheckBox4.Checked = True Then Label3.Text = Label3.Text + CheckBox4.Text + ", " End If If CheckBox5.Checked = True Then Label3.Text = Label3.Text + CheckBox5.Text + ", " End If If RadioButton1.Checked = True Then Label5.Text = RadioButton1.Text End If If RadioButton2.Checked = True Then Label5.Text = RadioButton2.Text End If If RadioButton3.Checked = True Then Label5.Text = RadioButton3.Text End If If RadioButton4.Checked = True Then Label5.Text = RadioButton4.Text End If End SubPrivate Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End SubPrivate Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load RadioButton1.Checked = True End SubEnd ClassOUTPUT :Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___14____Aim: to design a website blog to update the events and stories with picture and text and categorize it as per the need using web-site application. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html xmlns=""><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Paint Blog Template - free CSS template</title><meta name="keywords" content="paint blog, free templates, website templates, CSS, HTML" /><meta name="description" content="Paint Blog - free blog website template provided by " /><link href="templatemo_style.css" rel="stylesheet" type="text/css" /><!-- Free CSS Template is designed by --><!--[if lt IE 7]><style type="text/css"> .date_section, .comment{ behavior: url(iepngfix.htc); }</style><![endif]--></head><body><div id="templatemo_top_panel"><div id="templatemo_header_section"> <div id="search_box"> <form method="get" action="#"> <input type="text" name="searchfield" id="search_field" title="searchfield" /> <input type="submit" name="search" value="Search" alt="Search"id="search_button"title="Search" /> </form> </div> </div> <!-- end of header --></div> <div id="templatemo_menu_panel"> <div id="templatemo_menu_section"> <ul> <li><a href="index.html" class="current">Home</a></li> <li><a href="subpage.html">Features</a></li> <li><a href="" target="_parent">Gallery</a></li> <li><a href="#">Forum</a></li> <li><a href="#">Company</a></li> <li><a href="#" class="lastmenu">Contact Us</a></li> </ul> </div></div> <!-- end of menu --><div id="templatemo_content_panel"><div id="templatemo_content"> <div id="templatemo_content_left"> <div class="templatemo_content_left_section"> <div class="left_section_title">Categories</div> <div class="left_section_content"> <ul> <li><a href="subpage.html">Friends</a></li> <li><a href="#">Emotions</a></li> <li><a href="#">Impressive Quotes</a></li> </ul> </div> </div> <div class="templatemo_content_left_section"> <div class="left_section_title">Archives</div> <div class="left_section_content"> <ul><li><a href="" target="_parent">January 2015</a></li> <li><a href="#">December 2014</a></li> </ul> </div> </div> <div class="templatemo_content_left_section"> <div class="left_section_title">Popular Posts</div> <div class="left_section_content"> <ul> <li>Lorem Ipsum on <a href="#">Donec mollis aliquet</a></li> <li>Consectetuer on <a href="#">Suspendisse a nibh</a></li> <li>Sed on <a href="#">Pellentesque vitae magna</a></li> <li>Vitae Neque on <a href="#">Nunc blandit orci sit amet risus</a></li> <li>Donec Mollis on <a href="#">Maecenas adipiscing elementum</a></li> </ul> </div> </div> <div class="templatemo_content_left_section"> <div class="left_section_title">Gallery</div> <div class="left_section_content"> <ul class="gallery"> <li><a href="#"><img src="images/templatemo_thumb_01.jpg" alt="image name" /></a></li> <li><a href="#"><img src="images/templatemo_thumb_02.jpg" alt="image name" /></a></li> <li><a href="#"><img src="images/templatemo_thumb_03.jpg" alt="image name" /></a></li> <li><a href="" target="_blank"><img src="images/templatemo_thumb_04.jpg" alt="Free Template" /></a></li> <li><a href="" target="_blank"><img src="images/templatemo_thumb_05.jpg" alt="Flash Resources" /></a></li> <li><a href="" target="_blank"><img src="images/templatemo_thumb_06.jpg" alt="Web Design" /></a></li> </ul> <div class="cleaner">&nbsp;</div> <br /> <a href="#">View All</a> </div> </div> </div> <!-- end of content left --> <div id="templatemo_content_right"> <div class="templatemo_post_section"> <div class="date_section"> 19<span>Dec</span> </div> <div class="post_content"> <div class="post_title"> <h1>Our Nagpur Journey for Avishkaar </h1> <div class="post_info">Posted by <a href="" target="_parent">BALVANT</a> | <a href="#">JOURNEY</a> | <a href="#">FRIENDS</a></div> </div> <div class="post_body"> <img src="images/templatemo_image_01.jpg" alt="image" width="499" height="271" /> <p>We are the friends while travelling to nagpur </p> </div> </div> </div> <!-- end of 1 post --> <div class="cleaner_with_height">&nbsp;</div> <div class="templatemo_post_section"> <div class="date_section"> 14<span>OCT</span> </div> <div class="post_content"> <div class="post_title"> <h1>Impressive Quotes </h1> <div class="post_info"> Posted by <a href="" target="_parent">Balvant</a> | <a href="#">Photo Gallery</a> | <a href="#"><span class="comment">128 comments</span></a></div> </div> <div class="post_body"> <p><img src="images/templatemo_image_02.jpg" alt="image" width="419" height="351" /></p> <p>You need power, only when you want to do something harmful, otherwise love is enough to get everything done - Charlie chaplin </p> </div> </div> </div> <!-- end of 1 post --> </div> <!-- end of content right --></div></div> <!-- end of content panel --><div id="templatemo_bottom_panel"> <div id="templatemo_bottom_section"> <div id="templatemo_bottom_section_left"> <div class="bottom_section_title">Latest Posts</div> <ul class="popular_post"> Journey to Nagpur<br />Author name - Oct 26, 2048 <span class="comment">12</span><li></li> <li><a href="#">Suspendisse potent</a><br />Author name - Oct 19, 2048 <span `class="comment">10</span></li> </ul> </div> <div id="templatemo_bottom_section_right"> <div class="bottom_section_title">Friends</div> <ul class="list_section"> <li><a href="#">Lorem ipsum</a></li> <li><a href="#">Duis mollis</a></li> <li><a href="#">Maecenas adipiscing</a></li> <li><a href="#">Nunc blandit orci</a></li> <li><a href="#">Cum sociis natoque</a></li> </ul> <p>Creative Designs.</p> <a href=""></a><a href=""></a> </div> </div></div> <!-- end of bottom panel --><div id="templatemo_footer_panel"> <div id="templatemo_footer_section"> Copyright ? 2048 SRTMUN, Sub Center Latur <a href="#"></a> | Created by balvant <a href="" target="_parent"></a> </div></div><!-- Free CSS Template is designed by --><div align=center></div></body></html>OUTPUT:Swami Ramanand Teerth Marathwada University,Sub – Centre, LaturSchool of TechnologyAssignment no: ___15____Aim: to design the login page accept and check the user name and password using web-application. ----------------------------------------------------------------------------------------------------------------------------------- Subject In chargeSchool of Technology<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html xmlns=""><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:Login ID="Login1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" Height="156px" Width="281px"> <TextBoxStyle Font-Size="0.8em" /> <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" /> <InstructionTextStyle Font-Italic="True" ForeColor="Black" /> <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" /> </asp:Login> </div> </form></body></html>OUTPUT: ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download