Professional Documents
Culture Documents
PROJECT REPORT
On
Mr. PRIYANK.V.GAIKWAD.
Submitted in partial fulfillment of
[Bachelor of Computer Application]
Date:
Computer Department
2007-2008
Certificate of Approval
External Examiner
JAYANTI DENTAL CLINIC
76-Krishna-Vasant Sagar ,Thakur Village,Kandivali(E),
Mumbai-4000101
To,
The Principal
Ryan College of Engineering & Management
BCA Dept.
Dear Madam/Sir,
This is to certify that Jayanti Dental Clinic is giving a chance to
Mr. Priyank Gaikwad, a TYBCA Computer Application student of Ryan College of
Engineering & Management to design an Online Appointment Processing System
for our company.
Thanking you,
(Proprietor)
(JAYANTI DENTAL CLINIC)
To,
The Principal
Ryan College of Engineering & Management
BCA Dept.
Dear Madam/Sir,
This is to draw your attention Mr.Priyank Gaikwad has successfully completed
his project on the Online Appointment Processing System for our clinic keeping in
mind all our requirements.
We thank all those who have been a part of his project work by providing a
helping hand in successful completion of his work.
Thanking you,
(Proprietor)
(JAYANTI DENTAL CLINIC)
ACKNOWLEDGEMENT
(PRIYANK GAIKWAD)
INDEX
SR. NO. DESCRIPTION PAGE NO.
1 (a) INTRODUCTION
(b) ORGANIZATIONAL PROFILE
(c) PURPOSE
(d) SCOPE DETAILS
(e) FACILITIES & SERVICES PROVIDED
2 URL OF THE SITE
3 TYPE OF THE SITE
4 TECHNOLOGIEG & HARDWARE USED
(a) TECHNOLOGIES USED
(b) VARIOUS HARDWARE USED
(c) WHY SUCH TECHNOLOGIES PREFERRED?
5 UPLOADING METHODS
6 TYPES OF USER EXCEPTED
7 DATABASE DETAILS
8 SITE STRUCTURE ( CLIENT SIDE )
ORGANIZATIONAL PROFILE
Technologies:-
We have mainly used the following technologies:-
• Html is used for development of the site.
• Asp.net is used for dynamic page creation & data access.
• Microsoft Access is used for designing the database.
Html:-
It is the basic technology used with any website providing
required interface.
Asp.net:-
Asp.net is used in the website to access the database and store
information regarding
• Feed back
• Appointment
• Registration
HARDWARE USED
Hardware Used :-
• Pentium 133 Mhz.
• 32 MB DDRRAM.
• Modem.
1024*768 at HIGH colors display.
Software Specification :-
• Company Side:-Server Connected to World Wide Web.
• Client side:-Internet connection is required for script
supported web.
• Browser (INTERNET EXPLORER).
Operating System:-
• Windows XP.
Front End :-
• Web pages in HTML and ASP.Net.
Back End :-
A relational database in Access.
TYPES OF USERS EXPECTED TO VISIT THE
SITE
AdminLogin.asp
x
AdminHome.asp
x
ModifyAdmin.asp
AddAdmin.aspx ViewAdmin.aspx
x
ViewRegistration.asp
x
ViewFeedback.aspx
Register.as Appointme
px nt.aspx
Feedback.asp AboutUs.asp
x x
ContactUs.as
px
PatientHome.aspx
Appointment.aspx
ConfirmAppointment.
aspx
PROGRAMMING CODE (CLIENT SIDE)
Home.html
HOME.HTML
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Home.aspx.vb" Inherits="Frames.Home"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Home</title>
<meta name="vs_snapToGrid" content="True">
<meta name="vs_showGrid" content="False">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="white" leftMargin="150" rightMargin="150" MS_POSITIONING="GridLayout"
background="file:///C:\Inetpub\wwwroot\Frames\images\123.giff.gif"
topMargin="60" bgProperties="fixed">
<form id="Form1" method="post" runat="server">
</EMBED></OBJECT>
<asp:Label id="Label3" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server"
BackColor="SkyBlue" ForeColor="MediumOrchid" Height="16px" Width="1003px" Font-Bold="True"
Font-Italic="True">
<marquee><!--img border="0" src="train.gif" width="150" height="50"--> Welcome to
SUDARSHAN OPTICALS</marquee>
</asp:Label>
<TABLE id="Table2" style="Z-INDEX: 120; LEFT: 344px; WIDTH: 424px; POSITION: absolute; TOP: 872px; HEIGHT:
32px"
cellSpacing="1" cellPadding="1" width="424" align="center" border="0">
<TR vAlign="top" align="left">
<TD>
<DIV align="right">
<P align="left"><STRONG><FONT
color="#0099ff"> &nbs
p;
<FONT style="TEXT-TRANSFORM: capitalize; COLOR: red; BACKGROUND-COLOR: #66ccff; FONT-VARIANT:
normal; TEXT-DECORATION: underline">
Design & Developed by</FONT></FONT> VIMAL CHANDRAN</STRONG></P>
</DIV>
</TD>
</TR>
</TABLE>
<DIV style="Z-INDEX: 111; LEFT: 240px; WIDTH: 622px; POSITION: absolute; TOP: 824px; HEIGHT: 32px;
BACKGROUND-COLOR: transparent"
ms_positioning="FlowLayout">
<P><FONT color="blue"> </FONT>
<asp:HyperLink id="HyperLink13" runat="server" ForeColor="#C00000" Font-Size="Small" Font-Bold="True"
Target="_parent" NavigateUrl="Home.aspx" Width="48px" Height="18px"
BackColor="SkyBlue">Home</asp:HyperLink><FONT color="blue"> |
</FONT>
<asp:HyperLink id="HyperLink12" runat="server" ForeColor="#C00000" Font-Bold="True" Target="_parent"
NavigateUrl="Customerlogin.aspx" BackColor="SkyBlue">Order</asp:HyperLink><FONT color="blue"> |
</FONT>
<asp:HyperLink id="HyperLink11" runat="server" ForeColor="#C00000" Font-Bold="True" Target="_parent"
NavigateUrl="Register.aspx" BackColor="SkyBlue">Register</asp:HyperLink><FONT color="blue"> |
</FONT>
<asp:HyperLink id="HyperLink10" runat="server" ForeColor="#C00000" Font-Bold="True" Target="_parent"
NavigateUrl="AboutUs.aspx" BackColor="SkyBlue">About Us</asp:HyperLink><FONT color="blue"> |
</FONT>
<asp:HyperLink id="Hyp9" runat="server" ForeColor="#C00000" Font-Bold="True" Target="_parent"
NavigateUrl="ContactUs.aspx"
BackColor="SkyBlue">Contact Us</asp:HyperLink><FONT color="blue"> | </FONT>
<asp:HyperLink id="Hyp6" runat="server" ForeColor="Red" Font-Bold="True" Target="_parent"
NavigateUrl="FeedBack.aspx"
BackColor="SkyBlue">Feed Back</asp:HyperLink><FONT color="blue"> | </FONT>
<asp:HyperLink id="Hyp7" runat="server" ForeColor="#C00000" Font-Bold="True" Target="_parent"
NavigateUrl="SiteMap.aspx"
BackColor="SkyBlue">Site Map</asp:HyperLink><FONT color="blue"> | </FONT>
<asp:HyperLink id="Hyp8" runat="server" ForeColor="#C00000" Font-Size="Small" Font-Bold="True"
Target="_parent" NavigateUrl="AdminLogin.aspx" BackColor="SkyBlue">Admin Login</asp:HyperLink></P>
</DIV>
<asp:HyperLink id="Hyp2" style="Z-INDEX: 107; LEFT: 88px; POSITION: absolute; TOP: 432px" runat="server"
BackColor="SkyBlue" ForeColor="MediumOrchid" Font-Size="Medium" Height="16px" Width="72px"
Font-Bold="True" Target="_parent">GOGLES</asp:HyperLink>
<asp:HyperLink id="Hyp3" style="Z-INDEX: 106; LEFT: 64px; POSITION: absolute; TOP: 488px" runat="server"
BackColor="SkyBlue" ForeColor="MediumOrchid" Font-Size="Medium" Height="16px" Width="152px"
Font-Bold="True" Target="_parent">CONTACT LENS</asp:HyperLink>
<asp:Label id="Label4" style="Z-INDEX: 104; LEFT: 0px; POSITION: absolute; TOP: 120px" runat="server"
BackColor="SkyBlue" ForeColor="BlueViolet" Height="3px" Width="1018px" Font-Bold="True"
Font-Italic="True">
<marquee>You are Currently on Home Page</marquee>
</asp:Label>
<asp:Label id="Lbl" style="Z-INDEX: 101; LEFT: 400px; POSITION: absolute; TOP: 32px" runat="server"
BackColor="LightBlue" ForeColor="Red" Font-Size="XX-Large" Height="23px" Width="542px">SUDARSHAN
OPTICALS</asp:Label>
<asp:Label id="lbl2" style="Z-INDEX: 102; LEFT: 656px; POSITION: absolute; TOP: 96px" runat="server"
BackColor="LightBlue" ForeColor="Red" Font-Size="Small" Height="8px" Width="270px"
BorderColor="LightSkyBlue">Computerised-Eye Testing & Contact Lens</asp:Label>
<asp:HyperLink id="Hyp1" style="Z-INDEX: 105; LEFT: 88px; POSITION: absolute; TOP: 368px" runat="server"
BackColor="SkyBlue" ForeColor="MediumOrchid" Font-Size="Medium" Height="16px" Width="72px"
Font-Bold="True" Target="_parent" NavigateUrl="frame.aspx">FRAMES</asp:HyperLink>
<asp:Label id="Label5" style="Z-INDEX: 108; LEFT: 48px; POSITION: absolute; TOP: 296px" runat="server"
BackColor="SkyBlue" ForeColor="Red" Font-Size="Large" Height="32px" Width="152px" BorderColor="MediumPurple"
BorderStyle="Solid" Font-Underline="True">PRODUCTS</asp:Label>
<asp:Panel id="Panel2" style="Z-INDEX: 109; LEFT: 296px; POSITION: absolute; TOP: 288px" runat="server"
Height="480px" Width="580px" BorderColor="MediumPurple" BorderStyle="Solid">
<asp:Image id="Image1" runat="server" Width="572px" Height="472px"
ImageUrl="file:///C:\Inetpub\wwwroot\Frames\images\DSC00132.JPG"></asp:Image>
</asp:Panel>
<asp:HyperLink id="HyperLink4" style="Z-INDEX: 110; LEFT: -32000px; POSITION: absolute; TOP: -32000px"
runat="server" Height="48px" Width="88px">HyperLink</asp:HyperLink>
<asp:Button id="Button2" style="Z-INDEX: 112; LEFT: 16px; POSITION: absolute; TOP: 168px" runat="server"
BackColor="LightSteelBlue" ForeColor="DarkOrchid" Font-Size="Medium" Height="32px" Width="134px"
BorderColor="MediumPurple" Text="HOME" Font-Bold="True" BorderStyle="Solid" Font-Names="Courier
New"></asp:Button>
<asp:Button id="Button1" style="Z-INDEX: 113; LEFT: 384px; POSITION: absolute; TOP: 216px" runat="server"
BackColor="LightSteelBlue" ForeColor="DarkOrchid" Font-Size="Medium" Height="32px" Width="182px"
BorderColor="MediumPurple" Text="CUSTOMER LOGIN" Font-Bold="True" BorderStyle="Solid" Font-Names="Courier
New"></asp:Button>
<asp:Button id="Button3" style="Z-INDEX: 114; LEFT: 400px; POSITION: absolute; TOP: 168px" runat="server"
BackColor="LightSteelBlue" ForeColor="DarkOrchid" Font-Size="Medium" Height="34px" Width="136px"
PATIENT LOGIN
AppointmentRequest.aspx
CONTACT US.HTML
SignOut.html
Adminhome.HTML
End Sub
Private designerPlaceholderDeclaration As System.Object
#End Region
Dim com As New OleDbCommand
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Frames\database\SUD.mdb;Persist Security
Info=False")
Dim adp As New OleDbDataAdapter
Dim ds As New DataSet
Dim view As New DataView
Dim custno As String
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
custno = Session("Cust_No")
If Me.IsPostBack = False Then
DataGrid1.Visible = True
fill()
calculate()
End If
End Sub
Sub fill()
Dim str As String = "select * from Cart where Cust_No='" & custno & "'"
adp.SelectCommand = com
adp.SelectCommand.CommandText = str
adp.SelectCommand.Connection = con
adp.Fill(ds, "Cart")
DataGrid1.DataSource = ds
DataGrid1.AutoGenerateColumns = False
DataGrid1.DataBind()
End Sub
Sub calculate()
Dim selectst As String
selectst = "select * from Cart where Cust_No='" & custno & "'"
'Dim con As New OleDbConnection(constring)
Dim cmd As New OleDbCommand(selectst, con)
Dim reader As OleDbDataReader
con.Open()
reader = cmd.ExecuteReader
Dim st As Integer = 0
Dim ch As Integer = 0
Dim t As Integer = 0
Do While reader.Read
Dim price As String = reader("Price")
Dim qty As String = reader("Qty")
Dim subtotal As Integer
Dim charges As Integer
Dim total As Integer
subtotal = price * qty
charges = (subtotal * 4) / 100%
total = subtotal + charges
st = st + subtotal
ch = ch + charges
t = t + total
Loop
lblSubTotal.Text = "Rs. " & st
lblShippingCharges.Text = "Rs. " & ch
lblTotal.Text = "Rs. " & t
reader.Close()
con.Close()
End Sub
Private Sub DataGrid1_DeleteCommand(ByVal source As System.Object, ByVal e
As System.Web.UI.WebControls.DataGridCommandEventArgs)
Dim com As New OleDbCommand
Dim eid As String
eid = e.Item.Cells(1).Text
com.Connection = con
com.CommandText = "DELETE * FROM Cart WHERE Cart_No=@eid"
com.Parameters.Add("@eid", eid)
con.Close()
con.Open()
com.ExecuteNonQuery()
con.Close()
fill()
calculate()
End Sub
Private Sub DataGrid1_PageIndexChanged(ByVal source As System.Object, ByVal
e As System.Web.UI.WebControls.DataGridPageChangedEventArgs)
DataGrid1.CurrentPageIndex = e.NewPageIndex
fill()
End Sub
Private Sub btnRemoveAll_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs)
Dim com As New OleDbCommand
com.Connection = con
com.CommandText = "Delete * from Cart where Cust_No='" & custno & "'"
con.Close()
con.Open()
Try
com.ExecuteNonQuery()
Catch ex As Exception
End Try
CONFIRM APPOINTMENT.ASPX
Imports System.Data
Imports System.Data.OleDb
Public Class ConfirmOrder
Inherits System.Web.UI.Page
End Sub
#End Region
Dim com As New OleDbCommand
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Books And Movies\DataBase\BookShop.mdb;Persist
Security Info=False")
Dim adp As New OleDbDataAdapter
Dim ds As New DataSet
Dim view As New DataView
Dim custno As String
Dim order_detail_no, order_no As String
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
custno = Session("Cust_No")
If Me.IsPostBack = False Then
calculate()
customerdetails()
End If
End Sub
Sub calculate()
Dim selectst As String
selectst = "select * from Cart where Cust_No='" & custno & "'"
'Dim con As New OleDbConnection(constring)
Dim cmd As New OleDbCommand(selectst, con)
Dim reader As OleDbDataReader
con.Open()
reader = cmd.ExecuteReader
Dim st As Integer = 0
Dim ch As Integer = 0
Dim t As Integer = 0
Do While reader.Read
Dim price As String = reader("Price")
Dim qty As String = reader("Qty")
Dim subtotal As Integer
Dim charges As Integer
Dim total As Integer
subtotal = price * qty
charges = (subtotal * 4) / 100%
total = subtotal + charges
st = st + subtotal
ch = ch + charges
t = t + total
Loop
lblSubTotal.Text = "Rs. " & st
lblShippingCharges.Text = "Rs. " & ch
lblTotal.Text = "Rs. " & t
reader.Close()
con.Close()
End Sub
Sub customerdetails()
Dim selectcust As String = "select * from Customer where Cust_No='" & custno
& "'"
Dim cmd As New OleDbCommand(selectcust, con)
Dim reader As OleDbDataReader
con.Open()
reader = cmd.ExecuteReader
reader.Read()
lblLoginID.Text = reader("Login_Id")
lblName.Text = reader("Name")
lblAddress.Text = reader("Address")
reader.Close()
con.Close()
End Sub
Public Function getMaxIDOD(ByVal strquery As String) As String
Dim con As New OleDbConnection(constring)
con.Open()
Dim olecmd As New OleDbCommand(strquery, con)
Dim objCount As Object = olecmd.ExecuteScalar()
con.Close()
If Not IsDBNull(objCount) Then
Return Convert.ToString(objCount)
Else
Return "D0000"
End If
End Function
Private Sub autogenerateod()
Dim maxid As String
maxid = getMaxIDOD("SELECT MAX(Order_Detail_No) FROM Order_Detail")
maxid = maxid.Substring(3)
maxid = maxid + 1
If maxid >= 1 And maxid <= 9 Then
maxid = "D000" + maxid
ElseIf maxid > 9 And maxid <= 99 Then
maxid = "D00" + maxid
ElseIf maxid > 99 And maxid <= 999 Then
maxid = "D0" + maxid
Else
maxid = "D" + maxid
End If
order_detail_no = maxid
End Sub
Public Function getMaxID(ByVal strquery As String) As String
Dim con As New OleDbConnection(constring)
con.Open()
Dim olecmd As New OleDbCommand(strquery, con)
Dim objCount As Object = olecmd.ExecuteScalar()
con.Close()
If Not IsDBNull(objCount) Then
Return Convert.ToString(objCount)
Else
Return "O0000"
End If
End Function
Private Sub autogenerate()
Dim maxid As String
maxid = getMaxID("SELECT MAX(Order_No) FROM Order_Table")
maxid = maxid.Substring(3)
maxid = maxid + 1
If maxid >= 1 And maxid <= 9 Then
maxid = "O000" + maxid
ElseIf maxid > 9 And maxid <= 99 Then
maxid = "O00" + maxid
ElseIf maxid > 99 And maxid <= 999 Then
maxid = "O0" + maxid
Else
maxid = "O" + maxid
End If
order_no = maxid
End Sub
Sub generateorder()
autogenerate()
Dim com As OleDbCommand = New OleDbCommand
Dim conn As New OleDbConnection(constring)
Dim nowdate As String
nowdate = System.DateTime.Now.ToShortDateString + " " +
System.DateTime.Now.ToShortTimeString
conn.Open()
com.Connection = conn
ADD APPOINTMENT.ASPX
Imports System.Data
Imports System.Data.OleDb
Public Class CustomerChangePassword
Inherits System.Web.UI.Page
Private constring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Frames\database\SUD.mdb;Persist Security
Info=False"
End Sub
#End Region
Dim com As New OleDbCommand
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Frames\database\SUD.mdb;Persist Security
Info=False")
Dim adp As New OleDbDataAdapter
Dim ds As New DataSet
Dim view As New DataView
Dim custno As String
Imports System.Data.OleDb
Public Class Custhome
Inherits System.Web.UI.Page
End Sub
Private designerPlaceholderDeclaration As System.Object
InitializeComponent()
End Sub
#End Region
End Sub
End Sub
FEEDBACK.ASPX
Imports System.Data
Imports System.Data.OleDb
Public Class FeedBack
Inherits System.Web.UI.Page
Private constring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Frames\database\SUD.mdb;Persist Security Info=False"
End Sub
'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
#End Region
CONTACT US.ASPX
Imports System.Data
Imports System.Data.OleDb
Public Class Frameorder
Inherits System.Web.UI.Page
End Sub
#End Region
Dim com As New OleDbCommand
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Inetpub\wwwroot\Frames\database\SUD.mdb;Persist Security
Info=False")
Dim adp As New OleDbDataAdapter
Dim ds As New DataSet
Dim cartid As String
Dim custno As String
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
custno = Session("Cust_No")
'Put user code to initialize the page here
If Me.IsPostBack = False Then
fill()
End If
End Sub
Sub fill()
Dim str As String = "Select * from Product where Category='Frame'"
adp.SelectCommand = com
adp.SelectCommand.CommandText = str
adp.SelectCommand.Connection = con
adp.Fill(ds, "Product")
DataList1.DataSource = ds
DataList1.DataBind()
End Sub
Public Function getMaxID(ByVal strquery As String) As String
con.Open()
Dim olecmd As New OleDbCommand(strquery, con)
Dim objCount As Object = olecmd.ExecuteScalar()
con.Close()
If Not IsDBNull(objCount) Then
Return Convert.ToString(objCount)
Else
Return "C0000"
End If
End Function
Private Sub autogenerate()
Dim maxid As String
maxid = getMaxID("SELECT MAX(Cart_No) FROM Cart")
maxid = maxid.Substring(3)
maxid = maxid + 1
If maxid >= 1 And maxid <= 9 Then
maxid = "C000" + maxid
ElseIf maxid > 9 And maxid <= 99 Then
maxid = "C00" + maxid
ElseIf maxid > 99 And maxid <= 999 Then
maxid = "C0" + maxid
Else
maxid = "C" + maxid
End If
cartid = maxid
End Sub
Private Sub DataList1_ItemCommand(ByVal source As Object, ByVal e As
DataListCommandEventArgs) Handles DataList1.ItemCommand
If e.CommandName = "Order" Then
autogenerate()
Dim pno, qty, comp, pri As String
pno = CType(e.Item.FindControl("lblproducid"), Label).Text
comp = CType(e.Item.FindControl("lblcomp"), Label).Text
pri = CType(e.Item.FindControl("lblPrice"), Label).Text
qty = CType(e.Item.FindControl("cboQty"), DropDownList).SelectedItem.Value
Dim com As OleDbCommand = New OleDbCommand
Dim dr As OleDbDataReader
Dim query As String = "select * from Cart"
Dim olecmd As New OleDbCommand(query, con)
con.Open()
com.Connection = con
com.CommandText = "Insert into
Cart(Cart_No,Cust_No,Product_No,Company,Price,Qty)
values(@c_no,@cust_no,@p_no,@comp,@price,@qty)"
com.Parameters.Add("@c_no", cartid)
com.Parameters.Add("@cust_no", custno)
com.Parameters.Add("@p_no", pno)
com.Parameters.Add("@comp", comp)
com.Parameters.Add("@price", pri)
com.Parameters.Add("@qty", qty)
Try
com.ExecuteNonQuery()
Catch ex As Exception
End Try
con.Close()
Response.Redirect("Cart1.aspx")
ABOUT US.Aspx
Imports System.Data.OleDb
Public Class Home
Inherits System.Web.UI.Page
End Sub
Protected WithEvents HyperLink12 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink16 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink21 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink22 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink19 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink20 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink18 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink17 As System.Web.UI.WebControls.HyperLink
Protected WithEvents HyperLink1 As System.Web.UI.WebControls.HyperLink
#End Region
Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\WebProject(VikasCycles)\VikasCycles.mdb;Persist Security
Info=False")
ViewUserRegistration.aspx
Imports System.Data.OleDb
Public Class AdminHome
Inherits System.Web.UI.Page
Dim name As String
End Class
AddUserRegistration.aspx
Imports System.Data.OleDb
Public Class AddUser
Inherits System.Web.UI.Page
drs = ds.Tables("Login").Rows
dr = ds.Tables("Login").Rows(drs.Count - 1)
ViewRequest.aspx
Imports System.Data.OleDb
Public Class Cart
Inherits System.Web.UI.Page
End Sub
Sub fillTotal()
Dim c As New OleDbCommand
Dim a As Double
Dim r As OleDbDataReader
Dim it As DataGridItemCollection
it = dataGrid1.Items
c.Connection = con
c.CommandText = "SELECT
ID,Product.Name,Product.Rate,Qty,Product.Rate*Qty FROM Cart,Product where
Product.ProductNo=Cart.ProductNo and Cart.CartID=" & Val(Label1.Text)
If con.State = ConnectionState.Closed Then
con.Open()
End If
r = c.ExecuteReader
Dim i As Integer
While r.Read
Dim t As New Label
Dim l As New Label
a = Val(r("qty")) * Val(r("Rate"))
sum = sum + a
t = CType(it(i).FindControl("lbltotal1"), Label)
i = r(4)
t.Text = a
i = i + 1
End While
r.Close()
con.Close()
End Sub
it = dataGrid1.Items
Dim l As Label
l = CType(it(e.Item.ItemIndex).FindControl("lbltotal1"), Label)
''lblSubTotal.Text = Val(lblSubTotal.Text) - Val(l.Text)
''If Val(lblSubTotal.Text) < 0 Then
'' lblSubTotal.Text = 0
'End If
con.Open()
c.ExecuteNonQuery()
con.Close()
fillCart()
End Sub
End Class
MAINTAINANCE & UPGRADING OF SITE
Maintainance & Upgradation is very important part in the
development of website.The website is made taking into consideration
of current trend. This has to update for newer things.
Once the site is ready to be released it is now time to watch the site in
action. We need to observe things such as :-
Were the site development goals satisfied?
Any correction required?
Upgrades to deal with technology are inevitable. The initial
development signifies the start of continual development process called
maintenance.
Daily Maintenance:-
The website has to be maintained everyday by the administrator
of the site to keep on changing the status of placed appointment.
Treatment Upgradation:-
The website requires to be upgraded whenever any new treatment
or when there is some change in the already available treatments.
LIMITATION & FUTURE ENHANCEMENT
Limitations:-
Future Enhancement:-
Limitations:-
Future Enhancement:-