Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
LinkedIn
Online Members
More...
Join our online
Google+ community
for Bloggers, Content Writers and Webmasters
Forums
»
.NET
»
ASP.Net MVC
»
If user select any one currency type, it should change to respective price in whole site
Posted Date:
05 Jul 2012
Posted By::
Rajasekar.K
Member Level:
Silver
Member Rank:
419
Points
: 2
Responses:
4
In ecommerce website by default all price in dollar. I am having option at right side to select the currency type like ("EURO","INR","USD"). If user select any one currency type all price in ecommerce website should change to respective prices.
give me a solution and tell how to do it.
Tweet
Responses
#679114 Author:
Anil Kumar Pandey
Member Level:
Platinum
Member Rank:
1
Date: 05/Jul/2012 Rating:
Points
: 2
You should store the conversion rate in data base and based on the user selected currency read the conversion prize and convert it from data base for example if Euro is set as 1.5
then
Price in Euro = 1 * 1.5
Thanks & Regards
Anil Kumar Pandey
Microsoft MVP, DNS MVM
#679158 Author:
chiranjita nayak
Member Level:
Silver
Member Rank:
570
Date: 06/Jul/2012 Rating:
Points
: 2
You just save your current currency in session or cookies and when page is load first check current currency and change value as per currency rate
you can save currency rate in database or on run time you can also get current rate from web methods.
Thanks & Regards
Chiranjita Nayak
#680058 Author:
M4Maddy
Member Level:
Bronze
Member Rank:
5185
Date: 12/Jul/2012 Rating:
Points
: 1
Hi ,
Can you try with jquery or java script then it is more easier ...
#680064 Author:
jogesh
Member Level:
Gold
Member Rank:
229
Date: 12/Jul/2012 Rating:
Points
: 2
You need to use a thirdparty webserive for getting real time currency conversion. Otherwise you will end up showing wrong data to the user, because currency price rates changes everyday.
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
DHTMLX Scheduler not working in Website
Previous :
Can we have actionresult without View
Return to Discussion Forum
Post New Message
Category:
Related Messages
ASP.NET MVC Framework
How to merge an ASP.NET website with MVC web application
Public site using Asp.net MVC
Calling asp.net mvc action method using jquery post method expires the session
What is relation or difference between MVC and N-Tier Architecture
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
srirama
(22)
musathik
(6)
Phagu Mahato
(4)
Last 7 Days
baskar
(296)
Asheej T K
(203)
srirama
(185)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
About Us
Contact Us
Copyright
Privacy Policy
Terms Of Use
Revenue Sharing sites
Advertise
Talk to
Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.