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
Best Six Weeks Training in ASP.NET,JAVA,PHP in Kharar,Mohali,Chandigarh-Live Currency Convertor App
Live Currency Convertor App - Best Six Weeks Training in ASP.NET,JAVA,PHP in Kharar,Mohali,Chandigarh
Following coding has been done by Amardeep 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 Amardeep Singh
His areas of interest are .NET Development for Desktop Apps, Android Development, Android Social Networking Apps, C++, Database Administration, JAVA Web Development, Javascript and JQuery, Oracle Database, PHP CMS Systems, PHP Scripting, Software Selling and Marketing, Software Training, SQL Server Database, SQLite Database, Web Designing, Web Development in ASP.NET, Website Administration, etc., He likes Programming. And this what he has to say about himself: I am a programming addict..
This code calls a live webservice from http://www.webservicex.net/ and shows how to convert one currency to another. It uses two dropdowns to display the currencies. These currencies are derived from the enums as generated in the WebReference stub. Once these currencies populate the dropdowns, then a call is made to the 'CurrencyConvertor' function. The result is displayed in the label. In the code shown we demonstrate how to convert USD to INR - the indian currency.
Language
C# with Desktop
Database
Microsoft SQL Server
IDE
Microsoft Visual Web Developer Express
Video on this Code
Framework Classes
Enum, Page
Code Sample
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MyCurrencyConvertorApp
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlFrom.DataSource = Enum.GetValues(typeof(myref.Currency));
ddlTo.DataSource = Enum.GetValues(typeof(myref.Currency));
ddlFrom.DataBind();
ddlTo.DataBind();
}
}
protected void btnConvert_Click(object sender, EventArgs e)
{
myref.CurrencyConvertor cc = new myref.CurrencyConvertor();
myref.Currency currencyFrom =
(myref.Currency)Enum.Parse(typeof(myref.Currency), ddlFrom.SelectedValue);
myref.Currency currencyTo =
(myref.Currency)Enum.Parse(typeof(myref.Currency), ddlTo.SelectedValue);
double iRate = cc.ConversionRate(currencyFrom, currencyTo);
lblConversion.Text =
String.Format("1 {0} = {1} {2}", currencyFrom, iRate, currencyTo);
}
}
}
User Reviews
Best Six Weeks Training in ASP.NET,JAVA,PHP in Kharar,Mohali,Chandigarh-Live Currency Convertor App Reviewed by Tripti Singh on. Five Stars for Android, PHP and DOTNET Trainings. Rating: 4.94. I have had a very productive experience at Hoven both in VC++ and ASP.NET ... Developing a project was no less than a dream for me but they were materialized in this very institute ... and I am looking forward to developing more projects.
The experience I gained at Hoven was enriching. It enabled me to develop talents which I never knew that I possessed. It brought me into contact with experienced developers and guides with an astounding amount of knowledge and personal experience. I was suddenly brought down from an ivory tower into something very much like the "real world." Finally, these valuable experiences helped me advance along the path to self-realisation.