currency of a catalog
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > currency of a catalog




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    currency of a catalog  
Talkbiz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-04 01:03 AM

Hello
I work on commerce  server 2002.  And I develop under ASP.NET C #. I wanted
to know how one can get  the currency of a catalog and it’s symbol.
Thank you






[ Post a follow-up to this message ]



    RE: currency of a catalog  
Vinayak Tadas[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-04 03:40 PM

You can get the currency for the catalog by doing something like this

ProductCatalog productCatalog =
CommerceContext.Current.CatalogSystem.GetCatalog("CatalogName");
DataSet catalogAttributes = productCatalog.GetCatalogAttributes();
string currency = catalogAttributes.Tables[0].Rows[0]["Currency"
];
You will have to map the currency  to a currency symbol using the
System.Globalization.NumberFormatInfo class.


--------------------
Thread-Topic: currency of a catalog
thread-index: AcSmLHsReKBTaiHeQiqenu3kMO5W1w==
X-WBNR-Posting-Host: 81.255.177.89
From: "examnotes" <Talkbiz@discussions.microsoft.com>
Subject: currency of a catalog
Date: Wed, 29 Sep 2004 06:59:04 -0700
Lines: 5
Message-ID: <AC0369EC-3057-444B-A33C-217DAB01D776@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14876
X-Tomcat-NG: microsoft.public.commerceserver.general

Hello
I work on commerce  server 2002.  And I develop under ASP.NET C #. I wanted
to know how one can get  the currency of a catalog and it’s symbol.
Thank you



Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure!  For more info visit http://www.microsoft.com/security.  Please
reply to the newsgroups only.  Thanks






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register