CHAPTER 1
INTRODUCTION
Developing a Lunch Box Portal System to promote a greater count of food lovers to
Splurge into the field of Restaurant. It integrates the benefits of an ordering food with the
convenience of an online excitement and going with the technology, minus the commuting
hazards and expenses. It will usher in the immense flexibility and sophistication in the
existing manual platform structures, with the perfect blend of synchronous and
asynchronous interaction. It provides a means of collaborative E -ordering for the
customers.
This online application enables the end users to register online, select the food from
the e-menu card, read the E-menu card and order food online. By just selecting the food that
the user wants to have. The results after selecting the food from the E-menu card will directly
appear in the screen near the chef who is going to cook the food for you. by using this
application, the work of the waiter is reduced and we can also say that the work is nullified.
The benefit of this is that if there is rush in the Restaurant then there will be chances that the
waiters will be unavailable and the users can directly order the food to the chef online by
using this application. The user will be given a username and a password, by sing that every
time a user logs in he/she gets 2% discount in the total bill. This implies that the customer is
the regular user of the restaurant.
Manual system involves paper work in the form of maintain ing various files and
manuals. maintaining critical information in the files and manuals is full of risk
and a tedious process. Including a framework showing how to apply internet technology
progressively as skills and confidence grow, the project demonstrates the route from adapting
materials to developing an online environment.
Nowadays people don’t have much time to spend in restaurant by just there and
waiting for the waiter to take their order. Many customer visits the restaurant in their lunch
break and recess so they have limited time to eat and return to their respective office and
colleges. So this software helps them to save time and order food whenever they want
without calling the waiter again and again. as well as if the customer is a regular customer of
the restaurant then the customer gets 2% discount on every product they order.
ROLL NO.:100 1
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
The only role in this process is of hotel manager. As customers are not much involved
in it. The manger has to manage everything.
As any restaurant manager who has ever been out of work knows, finding a job is no
easy task. In general management of a restaurant, the restaurant manager plays a vital role.
The restaurant managers undertake the responsibilities of the whole restaurant business. They
manage with all departments for the smooth running of business. They handle a huge number
of information at the same time during their work hours. They have to be watchful about
minimum details like the cleanliness of the spoons and buying rate of local milk to bigger
issues like introducing a new dish in the menu. It might be the most difficult job for
restaurant managers is to manage human resource.
Restaurants are known to be a very high-income yielding business in terms of human
resource, therefore restaurant managers everywhere struggle on a daily basis to maintain a
group of experienced and competent people in the staff. because if an employee fails to
appear any day, the manager will have to do his duty himself. with all these qualities in hand,
a person can look for job as a restaurant manager in several variety of restaurants like fine
dining restaurants, hotels, resorts, fast-food joints or chains etc.
1.1 BACKGROUND
Lunch Box Portal System is a process of ordering any products like Food, Cuisines and from
local vendors through a webpage or even by an application many of these allow customers to
keep accounts with them in order to make a frequent ordering.
ROLL NO.:100 2
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
• Cost reduction
ROLL NO.:100 3
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
PURPOSE
This online application enables the end users to register online, select the food from the e-
menu card, read the E-menu card and order food online. By just selecting the food that the
user wants to have. The results after selecting the food from the E-menu card will directly
appear in the screen near the Chef who is going to cook the food for you.
By using this application, the work of the Waiter is reduced and we can also say that the work
is nullified. The benefit of this is that if there is rush in the Restaurant then there will be
chances that the waiters will be unavailable and the users can directly order the food to the
chef online by using this application. The user will be given a username and a password, by
sing that every time a user logs in he/she gets 2% discount in the total bill. This implies that
the customer is the regular user of the Restaurant.
Manual system involves paper work in the form of maintaining various files and
manuals. Maintaining critical information in the files and manuals is full of risk
and a tedious process. Including a framework showing how to apply Internet technology
progressively as skills and confidence grow, the project demonstrates the route from adapting
materials to developing an online environment.
Nowadays people don’t have much time to spend in restaurant by just there and waiting for
the waiter to take their order. Many customers visit the restaurant in their lunch break and
recess so they have limited time to eat and return to their respective office and colleges. So,
this software helps them to save time and order food whenever they want without calling the
waiter again and again. As well as if the customer is a regular customer of the Restaurant
then the customer gets 2% discount on every product they order.
ROLL NO.:100 4
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Nowadays, people are more dine-in at restaurant for their meals. the online food
ordering system provides convenience for the customers that are nothing special but the
general busy people of the society.
It overcomes the demerits of the manual hotel or mess system and the old-fashioned
queuing system. this system enhances the readymade of foods than people.
SCOPE
ROLL NO.:100 5
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Advantages
• Makes the ordering process easier
APPLICABILITY
Ordering Lunch Box and delivery is not a new online business idea; however, it has
evolved with technology coming into the forefront. So far, we have seen startups, whose
business models were based on grocery delivery, meal-kit delivery, anytime food delivery,
and more.
Getting handmade food as per our desire during work week can often become a
hassle. the online office lunch box ordering and delivery business surely fills the void
between busy professionals and delicious handmade food from nearby center.
Many follow online lunch box ordering & delivering business model but only a few
startups adhere to the office lunch box delivery business. same boring meals may upset any
office worker. to bring deliciousness back into the lives of working professionals and
removing the hassle of food delivery, this business model clicks the perfect chord.
The user will create a profile on the website or get registered with the platform. every
day at a given specific time, users receive a message of the available meal options. Interested
users place the order and make payment. the order will then get forwarded to the associated
center. after the order has been processed, the platform will collect all the order and deliver
the same to the respective offices at a given time.
ROLL NO.:100 6
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CHAPTER 2
SURVEY OF TECHNOLOGIES
FRONT END:
ASP.NET:
Microsoft Visual Studio .NET includes supports for all the Microsoft languages such
as C#, with extensive wizard support. MS Visual Studio .NET constitutes the core of .NET
development. It provides a complete development platform to design, develop, debug and
deploy .NET applications and Web Services. It comprises tools for building Web and
Windows applications as well as Web Services and also has a full set of data access tools.
There are also complete error-handling features available for local debugging, remote
debugging and tracing. Visual Studio .NET is available in Standard, Professional, Enterprise
Developer and Enterprise Architect versions.
BACK END:
My SQL:
1: MYSQL is free open source database that facilitates the effective management of the
databases by connecting them to the software.
3: MYSQL is a freely available open source Relational database management system that
uses structured query language.
4: SQL is the popular language for adding, accessing and managing content in a database.
5: It is most noted for its quick processing, proven reliability, ease and flexibility of use.
ROLL NO.:100 7
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
6: You can run software on a variety of platform and operating systems including Windows,
Linux and Unix.
CHAPTER 3
ROLL NO.:100 8
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
1) Managing and keeping records of all students, papers, books and the entire granule manually.
2) As it is not online the customer have to wait for the waiter to take their order and has to wait
for the food as well
3) Waiters have to manually keep a record of all the food ordered by the customer and that work
is very complicated.
4) Waiters have to manually calculate the amount of money to be paid by the customer after
having food.
5) Records are maintained manually so there are chances of damage and loss of data.
ROLL NO.:100 9
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
3. It is easy to change.
ROLL NO.:100 10
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 11
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 12
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
1. Environment:
• Servers:
• Operating System Server: - Microsoft Windows 7 /XP 3 or
Higher
• Data Base Server: Microsoft SQL Server 2008R2
2. Requirements:
• Hardware requirements:
Number Description
256 MB RAM.
• Software requirements:
Number Description
with MS-office
2. MS-SQL server2008
ROLL NO.:100 13
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
In future this project can be treated as product according to specification and needs of any
organization.
Since Lunch Box order plays key role in any restaurant or any food supplying institute, thus success
over long period of time and reliance of organization over recruitment is going to be one of the most
considered topics for any organization. Therefore, online food ordering will be will be of great help in
carrying out food delivering smoothly and effectively.
At present days every organization is using manual methodology for their proper functioning, so
this online based project important and useful in all Restaurant aspects.
Furthermore, if this project will be uploaded, it can be used as a place where customers can directly
send messages to the chef comment on the taste and giving feedback directly to the chef.
Feasibility Study
Preliminary investigation examines project feasibility, the likelihood the system will be useful to the
organization. The main objective of the feasibility study is to test the Technical, Operational and
Economical feasibility for adding new modules. All system is feasible if they are unlimited resources and
infinite time.
I. Technical Feasibility:
Technical Feasibility centers on the existing computer system hardware, software, etc. and to some
extent how it can support the proposed addition. This involves financial considerations to accommodate
technical enhancements. Technical support is also a reason for the success of the project. The techniques
needed for the system should be available and it must be reasonable to use. Technical Feasibility is mainly
concerned with the study of function, performance, and constraints that may affect the ability to achieve the
system. By conducting an efficient technical feasibility we need to ensure that the project works to solve
the existing problem area.
Since the project is designed with ASP.NET with C# as Front end and SQL Server 2008 R2 as Back
end, it is easy to install in all the systems wherever needed. It is more efficient, easy and user-friendly to
ROLL NO.:100 14
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
understand by almost everyone. Huge amount of data can be handled efficiently using SQL Server as back
end. Hence this project has good technical feasibility.
People are inherently instant to change and computers have been known to facilitate change.
An estimate should be made to how strong a reaction the user staff is likely to have towards the
development of the computerized system. the staff is accustomed to computerized systems.
These kinds of systems are becoming more common day by day for evaluation of the software
engineers. Hence, this system is operationally feasible.
As this system is technically, economically and operationally feasible, this system is judged
feasible.
ROLL NO.:100 15
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 16
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 17
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 18
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 19
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 20
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CHAPTER 4
Reporting Module:
User can view the overall performance of the center in chart report. The report can generate
according to the time period and the time period customize by user.
Payment Module:
This module will gather the order information and print the billing statement for user to make
payment and keep for their reference.
ROLL NO.:100 21
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Admin Login:
Charges Master:
ROLL NO.:100 22
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Employee Details:
Employee Salary:
ROLL NO.:100 23
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Feedback:
Order Master:
ROLL NO.:100 24
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Product Category:
Product Sub-Category:
ROLL NO.:100 25
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Product Details:
User Details:
ROLL NO.:100 26
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 27
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 28
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
• In this system, anyone can Register by not everyone gets login access until admin approval.
This step is taken in order to provide a security measure to our website.
• Confidential data like passwords are given a special password filed which hides the visibility of
the password being typed.
• This website is designed by taking consideration of HTTPS (Hyper Text Transfer Protocol
Secure) so, data is sent securely.
• Currently it is running on local host so the scope so limited but if it goes on WWW (World
Wide Web) it is ensured that it is well secured.
ROLL NO.:100 29
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CHAPTER 5
1. Home Page
Description:
This is the home page of my Lunch Box Portal here you will get the detailed information about the
service we provide you. For any further queries you can directly contact us on the details or the link
we have provided in the above description.
ROLL NO.:100 30
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
2. Admin
Description:
This is the Login page for Admin. Admin is the only person who has the authority of handling
overall activities in this system.
ROLL NO.:100 31
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
3. Main Category
Description:
This is the Admin panel. Over here admin will add Main Category of the product. This is done
because it will be helpful for the customer to identify the particular product they are searching for.
When you submit the category name you will get the notification above.
ROLL NO.:100 32
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
4. Sub-Category
Description:
This page will help you to add the Sub-Category of the product. For adding the sub-category you
first have to select the Main-Category name from the dropdown list. After submitting the name you
will get notification above.
ROLL NO.:100 33
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
5. Product Details
Description:
This page helps you to add the description of the sub-category product. Here you have to select the
sub-category and along with that you have to fill-ups the further formal details accordingly.
ROLL NO.:100 34
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
6. User Login
ROLL NO.:100 35
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Description:
This is the User panel. Here the user gets login to the website and if the user has not registered himself then he needs
to get register first. After registration he can directly login to the portal and if login get successfully the above portal
of user home page gets displayed.
ROLL NO.:100 36
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
7. Menu Selection
Description:
When you click on “Menu” option you will get the multiple sub options in the menu list. So, you can
choose the appropriate option according to your choice.
ROLL NO.:100 37
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
9. Sub-Menu Selection
Description:
In this portal you will get the Sub-Categories of the Main-Category you have chosen before. So, in this you
can select any item you want to place an order for.
ROLL NO.:100 38
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 39
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Description:
When you select the particular item, you will get the option for placing an order just by clicking on “Order
Now” the order will get placed. Also, it will ask for how much quantity of selected item you want. After
adding the quantity, you will get the notification above. Then you can add the product to the cart by
clicking on Add to Cart option.
ROLL NO.:100 40
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
11. Payment
Description:
When you add the product in cart you will get the pop-up screen of payment mode. So as per your
convenience you can pay the charges for the product in different mode such as Cash, Debit, Credit and Net-
Banking.
ROLL NO.:100 41
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
12. Feedback
Description:
Here the user can give the feedback to the service provided them. As per the user convenience the admin
panel will get updated.
ROLL NO.:100 42
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Home.aspx
Code :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
}
}
Login.aspx.cs
Component Table:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
ROLL NO.:100 43
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
ROLL NO.:100 44
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
//string stud = "Select * from Admin_login where Email='" + txtemail.Text + "' and
Pass='" + txtpass.Text + "'";
//ds = db.GetData(stud);
//if (ds.Tables["Table"].Rows.Count > 0)
//{
// string str = txtemail.Text;
// Session["admin"] = str.ToString();
// Response.Redirect("~/Admin/Home.aspx");
//}
if (txtemail.Text == "admin@abc.com" && txtpass.Text == "admin")
{
Session["Email"] = txtemail.Text;
string str = "Admin";
Session["admin"] = str.ToString();
Response.Redirect("~/Admin/Home.aspx");
}
else
{
string stud2 = "Select * from UserDetails where Email='" + txtemail.Text + "'
and Pass='" + txtpass.Text + "'";
ds = db.GetData(stud2);
if (ds.Tables["Table"].Rows.Count > 0)
{
Session["SessionId"] = ds.Tables["Table"].Rows[0]["Id"].ToString();
string str2 = ds.Tables["Table"].Rows[0]["Name"].ToString();
Session["Name"] = str2;
Session["Email"] = txtemail.Text;
Response.Redirect("~/User/Home.aspx");
}
else
{
db.MsgBoxShow("Error", this.Page);
clear();
}
}
}
}
catch (Exception ex)
{
db.MsgBoxShow(ex.ToString(), this.Page);
}
ROLL NO.:100 45
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
}
Main_Category.aspx.cs
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
ROLL NO.:100 46
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
if (!IsPostBack)
{
if (Session["admin"] == null)
{
Response.Redirect("~/Login/Login.aspx", false);
}
Bind_dgv();
}
}
ROLL NO.:100 47
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
if (result == 1)
{
db.MsgBoxShow("New Catagory Updated Succesfully", this.Page);
ClearBox();
Bind_dgv();
}
else
{
db.MsgBoxShow("Catagory Not Updated Succesfully",this.Page);
}
ROLL NO.:100 48
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
}
else
{
string query = String.Empty;
query = "insert into Prod_Category(Name,Status) values('" + txtname.Text.Trim() +
"','1')";
int result = db.ExecuteQuery(query);
if (result == 1)
{
db.MsgBoxShow("New Catagory Added Succesfully",this.Page);
ClearBox();
Bind_dgv();
}
else
{
db.MsgBoxShow("Catagory Not Added Succesfully",this.Page);
}
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 49
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
try
{
dgv.PageIndex = e.NewPageIndex;
Bind_dgv();
dgv.PageIndex = e.NewPageIndex;
//BindResumeDetails();
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
txtname.Text = name.Text;
}
catch (Exception ex)
{
throw ex;
}
}
}
ROLL NO.:100 50
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Sub_category.aspx.cs
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
ROLL NO.:100 51
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Response.Redirect("~/Login/Login.aspx", false);
}
Bind_dgv();
filldrop();
}
}
ddlsubcat.DataSource = ds.Tables["Table"];
ddlsubcat.DataValueField = "Category_Id";
ddlsubcat.DataTextField = "Name";
ddlsubcat.DataBind();
ddlsubcat.Items.Insert(0, new ListItem("-- Select Category --", "0"));
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 52
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
ds.Tables["Table"].Rows.Add(ds.Tables["Table"].NewRow());
dgv.DataSource = ds.Tables["Table"];
dgv.DataBind();
int columncount = dgv.Rows[0].Cells.Count;
dgv.Rows[0].Cells.Clear();
dgv.Rows[0].Cells.Add(new TableCell());
dgv.Rows[0].Cells[0].ColumnSpan = columncount;
dgv.Rows[0].Cells[0].Text = "No Records Found";
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 53
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
try
{
else
{
db.MsgBoxShow("Catagory Not Updated Succesfully", this.Page);
}
}
}
else
{
string query = String.Empty;
query = "insert into Prod_Sub_Category(Category_Name,Sub_cat_name,Status) values('"
+ ddlsubcat.SelectedIndex + "','" + txtname.Text.Trim() + "','1')";
int result = db.ExecuteQuery(query);
if (result == 1)
ROLL NO.:100 54
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
db.MsgBoxShow("New Catagory Added Succesfully", this.Page);
ClearBox();
Bind_dgv();
}
else
{
db.MsgBoxShow("Catagory Not Added Succesfully", this.Page);
}
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
dgv.PageIndex = e.NewPageIndex;
//BindResumeDetails();
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 55
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
db.GetData(locdelete);
Bind_dgv();
}
ROLL NO.:100 56
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Product_details.aspx.cs
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
ROLL NO.:100 57
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
Bind_dgv();
filldrop();
}
}
ddlcatagory_name.DataSource = ds.Tables["Table"];
ddlcatagory_name.DataValueField = "Cat_Id";
ddlcatagory_name.DataTextField = "Sub_cat_name";
ddlcatagory_name.DataBind();
ddlcatagory_name.Items.Insert(0, new ListItem("-- Select Catagory --", "0"));
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 58
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
ds.Tables["Table"].Rows.Add(ds.Tables["Table"].NewRow());
dgv.DataSource = ds.Tables["Table"];
dgv.DataBind();
int columncount = dgv.Rows[0].Cells.Count;
dgv.Rows[0].Cells.Clear();
dgv.Rows[0].Cells.Add(new TableCell());
dgv.Rows[0].Cells[0].ColumnSpan = columncount;
dgv.Rows[0].Cells[0].Text = "No Records Found";
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 59
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ex.ToString();
}
}
else
{
ROLL NO.:100 60
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
else
{
var fileName = product_image.PostedFile.FileName;
string sp = Server.MapPath("product_images");
String fn = Guid.NewGuid().ToString() +
product_image.FileName.Substring(product_image.FileName.LastIndexOf(".")).ToLower();
if (sp.EndsWith("\\") == false)
sp += "\\";
sp += fn;
product_image.PostedFile.SaveAs(sp);
SqlConnection con = new SqlConnection(db.getConnectiontring());
con.Open();
SqlCommand cmd = new SqlCommand("Insert into
Product_details(Catagory_ID,Name,Description,Qunty,Remain_qnty,Price,Product_image,Image_path,Statu
s) values('" + ddlcatagory_name.SelectedIndex + "','" + txtname.Text + "','" + txtdescription.Text
+ "','" + TextBox1.Text + "','" + TextBox1.Text + "','" + txtprice.Text + "','" + fileName + "','"
+ fn + "','1')", con);
int result = cmd.ExecuteNonQuery();
if (result == 1)
{
db.MsgBoxShow("Product Details Saved Succesfully", this.Page);
ClearBox();
Bind_dgv();
}
else
{
db.MsgBoxShow("Product Details Not Saved Succesfully", this.Page);
}
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 61
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 62
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
}
catch (Exception ex)
{
throw ex;
}
}
}
Registration.aspx.cs
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Net.Mail;
using System.Text.RegularExpressions;
using System.Text;
ROLL NO.:100 63
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 64
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Menu.aspx
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Net.Mail;
using System.Text.RegularExpressions;
using System.IO;
using System.Web.Services;
using System.Web.Script.Services;
ROLL NO.:100 65
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
DBManager db = new DBManager();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
bindDataList();
}
}
ROLL NO.:100 66
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Sub-Menu.aspx
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Net.Mail;
using System.Text.RegularExpressions;
using System.IO;
using System.Web.Services;
using System.Web.Script.Services;
ROLL NO.:100 67
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
if (!IsPostBack)
{
id = Session["c_id"].ToString();
int no = 0;
string name = "select Name from dbo.Prod_Category where Category_Id='" + id + "'";
ds = db.GetData(name);
if (ds.Tables["Table"].Rows.Count > 0)
{
Label1.Text = ds.Tables["Table"].Rows[0]["Name"].ToString();
}
bindDataList();
}
}
ROLL NO.:100 68
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
DataList1.DataSource = dt;
DataList1.DataBind();
con.Close();
}
Order_details.aspx
Component Table:
Code :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
ROLL NO.:100 69
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
if(!IsPostBack)
{
getdata();
}
}
grdCustomer.PageIndex = e.NewPageIndex;
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 70
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
catch (Exception ex)
{
throw ex;
}
}
}
ROLL NO.:100 71
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Payment.aspx
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Net.Mail;
using System.Text.RegularExpressions;
using System.IO;
using System.Web.Services;
using System.Web.Script.Services;
using System.Net;
ROLL NO.:100 72
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 73
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
catch (Exception ex)
{
db.MsgBoxShow(ex.ToString(), this.Page);
}
}
ROLL NO.:100 74
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
db.MsgBoxShow(ex.ToString(), this.Page);
}
}
ROLL NO.:100 75
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
drpdnDebitMonth.SelectedIndex = 0;
txtdbcardno.Text = "";
txtdcname.Text = "";
}
catch (Exception ex)
{
db.MsgBoxShow(ex.ToString(), this.Page);
}
}
ROLL NO.:100 76
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
try
{
txtcdcvv.Text = "";
ddlyear.SelectedIndex = 0;
ddlcdmonth.SelectedIndex = 0;
txtcdno.Text = "";
txtcdname.Text = "";
}
catch (Exception ex)
{
db.MsgBoxShow(ex.ToString(), this.Page);
}
}
ROLL NO.:100 77
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Feedback.aspx
Component Table:
Code :
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
ROLL NO.:100 78
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Data.SqlClient;
ROLL NO.:100 79
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
{
dgv.Visible = true;
dgv.DataSource = ds.Tables["Table"];
dgv.DataBind();
}
else
{
ds.Tables["Table"].Rows.Add(ds.Tables["Table"].NewRow());
dgv.DataSource = ds.Tables["Table"];
dgv.DataBind();
int columncount = dgv.Rows[0].Cells.Count;
dgv.Rows[0].Cells.Clear();
dgv.Rows[0].Cells.Add(new TableCell());
dgv.Rows[0].Cells[0].ColumnSpan = columncount;
dgv.Rows[0].Cells[0].Text = "No Records Found";
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 80
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
}
}
dgv.PageIndex = e.NewPageIndex;
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
}
ROLL NO.:100 81
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
else
{
db.MsgBoxShow("Product Details Not Saved Succesfully", this.Page);
}
}
}
ROLL NO.:100 82
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
For Login:
ROLL NO.:100 83
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 84
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 85
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
• This UNIT TESTING is a level of software testing where individual units/ components
of a software are tested. The purpose is to validate that each unit of the software performs
as designed. A unit is the smallest testable part of any software. It usually has one or a few
inputs and usually a single output. In procedural programming, a unit may be an
individual program, function, procedure, etc. In object-oriented programming, the smallest
unit is a method, which may belong to a base/ super class, abstract class or derived/ child
class. (Some treat a module of an application as a unit. This is to be discouraged as there
will probably be many individual units within that module.) Unit testing frameworks,
drivers, stubs, and mock/ fake objects are used to assist in unit testing.
Unit testing increases confidence in changing/ maintaining code. If good unit tests are
written and if they are run every time any code is changed, we will be able to promptly
catch any defects introduced due to the change. Also, if codes are already made less
interdependent to make unit testing possible, the unintended impact of changes to any
code is less.
• Codes are more reusable. In order to make unit testing possible, codes need to be
modular. This means that codes are easier to reuse.
• Development is faster. How? If you do not have unit testing in place, you write your code and
perform that fuzzy ‘developer test’ (You set some breakpoints, fire up the GUI, provide a few
inputs that hopefully hit your code and hope that you are all set.) But, if you have unit testing in
ROLL NO.:100 86
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
place, you write the test, write the code and run the test. Writing tests takes time but the time is
compensated by the less amount of time it takes to run the tests; You need
ROLL NO.:100 87
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
not fire up the GUI and provide all those inputs. And, of course, unit tests are more reliable
than developer tests. Development is faster in the long run too. How? The effort required
to find and fix defects found during unit testing is very less in comparison to the effort
required to fix defects found during system testing or acceptance testing.
• The cost of fixing a defect detected during unit testing is lesser in comparison to that of
defects detected at higher levels. Compare the cost (time, effort, destruction, humiliation) of
a defect detected during acceptance testing or when the software is live.
• Debugging is easy.
ROLL NO.:100 88
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
ROLL NO.:100 89
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Beta Testing is one of the Acceptance Testing types, which adds value to the
product as the end-user (intended real user) validates the product for functionality,
usability, reliability, and compatibility.
Inputs provided by the end-users helps in enhancing the quality of the product
further and leads to its success. This also helps in decision making to invest further in
the future products or the same product for improvisation.
Since Beta Testing happens at the end user’s side, it cannot be the controlled
activity.
Beta Testing is one of the Customer Validation methodologies to evaluate the
level of customer satisfaction with the product by letting it to be validated by the end
users, who actually use it, for over a period of time.
Product experience gained by the end users are asked for feedback on design,
functionality, and usability and this helps in assessing the quality of the product.
Real People, Real Environment, Real Product are the three R’s of Beta Testing and
the question that arises here in Beta Testing is “Do Customer like the Product?”.
• Scope: Clearly mention what are the areas to be tested and what is not to be tested.
Also mention any specific data to be used for a particular feature (say use test credit
card for payment validations – Card no, CVV, Expiry Date, OTP, etc).
• Test Approach: Clearly mention whether the testing is exploratory, what to focus
on–functionality, UI, response, etc. Mention the procedure to log bugs and also what
all to provide a proof (Screenshots/Videos).
• Schedule: Clearly specify the Start and End Dates with time, number of cycles,
and duration per cycle.
ROLL NO.:100 91
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CHAPTER 6
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
ROLL NO.:100 92
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CrystalReportViewer1.ReportSource = BooksReport;
CrystalReportViewer1.DataBind();
}
protected void CrystalReportViewer1_Init(object sender, EventArgs e)
{
}
}
ROLL NO.:100 93
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Employee Reports :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
ROLL NO.:100 94
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CrystalReportViewer1.ReportSource = BooksReport;
CrystalReportViewer1.DataBind();
}
}
ROLL NO.:100 95
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
User Reports :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
ROLL NO.:100 96
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CrystalReportViewer1.ReportSource = BooksReport;
CrystalReportViewer1.DataBind();
}
}
ROLL NO.:100 97
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
Stock Reports:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
ROLL NO.:100 98
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
CrystalReportViewer1.ReportSource = BooksReport;
CrystalReportViewer1.DataBind();
}
}
ROLL NO.:100 99
T.Y.Bsc.I.T. LUNCH BOX PORTAL SYSTEM
1. Go to LOGIN at Home page click on User Registration and fill up all your details.
3. In About Us, you find all the details about our product and services.
4. You can also Contact Us on the social media or the links provided.
a) When you click on Menu option you will get the categories of the product and if
you select one of the main categories you will get the sub category list so you can
choose the product accordingly.
b) When you click on “Current Order” option you can view the order details which
have not delivered yet.
c) When you click on “Past Order” option you can view the past orders history
accordingly.
d) When you click on “Feedback” option you can give the feedback of the service
which is provided by the admin to you.
CHAPTER 7
7.1 CONCLUSION
Our project is only a humble venture to satisfy the needs to manage their project work.
several user-friendly coding has also adopted. This package shall prove to be a powerful
package in satisfying all the requirements of the school. The objective of software planning is
to provide a frame work that enables the manager to make reasonable estimates made within
a limited time frame at the beginning of the software project and should be updated regularly
as the project progresses.
Although I have put my best efforts to make the software flexible ,easy to operate but
limitation cannot be ruled out even by me. Though the software presents a broad range of
options to its users some intricate option could not be covered into it; partly because of
logistic and partially due to lack of sophistication. paucity of time was also major constraint;
thus it was not possible to make the software foolproof and dynamic. lack of time also
compelled me to ignore some part such as storing old result of the candidate etc.
Consideration efforts have made the software easy to operate even for the people not related
to the field of computer but it is acknowledged that a layman may find it a bit problematic at
the first instance. the user is providing help at each step for his convenience in working with
the software.
In a nutshell, it can be summarized that the future scope of the project circles around
maintaining information regarding:
2. We can give more advance software for courier management system including more
facility.
5. Create the master and slave database structure to reduce the overload of the database
queries.
6. Implement the backup mechanism for taking backup of codebase on regular basis on
different servers
REFERENCES
• SQL:
- Thereon Willis
• Internet References
- www.wikipedia.com
- www.w3schools.com
- www.youtube.com
- www.stackoverflow.com
• Diagrams:
- dia.exe – the diagramming tool
- Create – the diagramming tool
- Star UML – the diagramming tool