Next .NET Training is Starting from Feb 27, 2013, Book your Seat, Call Now! 9988011975. * Corporate Trainings * Six Month/Six Week Industrial Training for Students
Next PHP Training is Starting from Mar 2, 2013, Book your Seat, Call Now! 9988011975. * Corporate Trainings * Six Month/Six Week Industrial Training for Students
Next C/C++ Training is Starting from Mar 7, 2013, Book your Seat, Call Now! 9988011975.* Corporate Trainings * Six Month/Six Week Industrial Training for Students
Next Core JAVA Course is Starting from Mar 10, 2013, Book your Seat, Call Now! 9988011975.* Corporate Trainings * Six Month/Six Week Industrial Training for Students
Next Android Course is Starting from Mar 12, 2013, Book your Seat, Call Now! 9988011975.* Corporate Trainings * Six Month/Six Week Industrial Training for Students
Next Advanced JAVA Course is Starting from Mar 15, 2013, Book your Seat, Call Now! 9988011975.* Corporate Trainings * Six Month/Six Week Industrial Training for Students
All Trainings are Live Project Based. Video Lectures + SyBooks are provided with each Course.* Corporate Trainings * Six Month/Six Week Industrial Training for Students
Best Institute Java Chandigarh | Best Institute PHP in Chandigarh | Best Institute .NET in Chandigarh
Live Project based Training in Advanced JAVA-Medicine Expiry Dates for a Wholesale Chemist
Medicine Expiry Dates for a Wholesale Chemist - Live Project based Training in Advanced JAVA
Following coding has been done by Manvir Singh, who has received training from our company. We are very particular about minute things like naming conventions, proper releasing of heap allocated handles and memory, and also about the use of OOPS programming constructs like enums, const, static qualifiers. Our trainees exhibit all these features in their code. A high quality code always keeps a developer ahead of others. We can cite hundreds of instances where students trained by us have received appreciation letters from their employers. This is possible because of the overall development of a trainee not as a coder but also as a skilled organiser. You too can join us and benefit from our training methodology.
About Manvir Singh
His areas of interest are .NET Development for Desktop Apps, C++, JAVA Web Development, PHP Scripting, Software Training, SQL Server Database, Web Designing, Web Development in ASP.NET, etc., He likes Surfing Net,Talking. And this what he has to say about himself: I am Manvir Singh pursuing B.Tech from Rayat Institute of Information Technology . I have knowledge about HTML, Web Designing, PHP, ASP.NET, C++, Java.
. He has been trained at Hoven where he learnt to write serious, professional level code.
This code is used for Medical Management system. It creates a form that contains medicine information. It consists of various fields like medicine name, its manufacturing date, expiry date and the name of disease for which the medicine is used.It uses a database at the back end to store the information about various diseases and the recommended medicines for it along with their manufacturing and expiry dates.
Language
C# with Desktop
Database
Microsoft SQL Server
IDE
Microsoft Visual Web Developer Express
Video on this Code
Framework Classes
DataSet, SqlConnection, SqlDataAdapter, SqlCommand, Page, RequiredFieldValidator, TextBox, Calender, DropDownList, CustomValidator, ValidationSummary. Namespaces used are System.Web, System,Web,UI, System.Data.SqlClient, System.Web.UI.WebControls
Code Sample
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Medical_Managment_System
{
public partial class Default : System.Web.UI.Page
{
private DataSet Getdisease()
{
using (SqlConnection con = new SqlConnection(CMedical.ConnString))
{
con.Open();
using (SqlDataAdapter da =
new SqlDataAdapter("SELECT disease FROM tbldisease " +
" WHERE disease <> 'Cold'", con))
{
DataSet ds = new DataSet();
da.Fill(ds);
return ds;
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DataSet ds = Getdisease();
ddlDisease.DataSource = ds;
ddlDisease.DataValueField = "disease";
ddlDisease.DataBind();
}
}
protected void cvMfDate_ServerValidate(object source, ServerValidateEventArgs args)
{
args.IsValid = calMfDate.SelectedDate > DateTime.Now;
}
protected void cvExDate_ServerValidate(object source, ServerValidateEventArgs args)
{
args.IsValid = calExDate.SelectedDate > DateTime.Now;
}
protected void lnkMedicine_Click(object sender, EventArgs e)
{
lblMessage.Text = "";
if (Page.IsValid)
{
String strINSERTQuery = String.Format(
" INSERT INTO tblMedical(medicineName,mfDate,exDate,disease) " +
" VALUES('{0}','{1:dd-MMM-yyyy}','{1:dd-MMM-yyyy}','{3}')",
txtMedicineName.Text,
calMfDate.SelectedDate,
calExDate.SelectedDate,
ddlDisease.SelectedValue);
using (SqlConnection con = new SqlConnection(CMedical.ConnString))
{
con.Open();
using (SqlCommand cmd = con.CreateCommand())
{
cmd.CommandText = strINSERTQuery;
try
{
cmd.ExecuteNonQuery();
lblMessage.Text = "Data Saved!";
}
catch (System.Exception ex)
{
lblMessage.Text = "Operation Failed:" + ex.Message;
return;
}
}
}
}
}
}
}
User Reviews
Live Project based Training in Advanced JAVA-Medicine Expiry Dates for a Wholesale Chemist Reviewed by Harleen on. Best Trainings, Best Trainers. Rating: 4.96. My experience was very good with Hoven. I am impressed by teaching style of Hoven, the way, they teach and the technique used by Hoven, is not used by any other institute. After joining Hoven, my programming skills became very good.
Hoven gives me the talent of making software myself. I remember the day when i had completed my first prooject in C++.I got loads of knowlege from hoven.