Wrox Programmer Forums
|
BOOK: Professional C# 2005
This is the forum to discuss the Wrox book Professional C# 2005 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones; ISBN: 9780764575341
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 5th, 2010, 09:32 AM
Authorized User
 
Join Date: May 2007
Posts: 95
Thanks: 5
Thanked 0 Times in 0 Posts
Default Compare issues

Hi All

I have two datatables:
DtCurrency - Consists of one column named currency with different currencies like USD,EUROS,GBP etc..., all values are distinct.

The other datatable dtAllowance consists of two columns Currency and allowance.The rows in this table contain repetitive and different currencies and allowance. Something like this:

CURRENCY | ALLOWANCE
--------------------------
USD 500
USD 690.56
EUROS 400.33
EUROS 444
GBP 399


The rows coming in this Allowance table are dynamic. I need to join currency column of table 2 with that of table 1 and then i need to calculate sum of allowance of each different currencies. How to do this? can someone explain me through code...





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compare the value elayaraja.s XSLT 3 July 28th, 2008 07:48 AM
compare Neha XSLT 6 July 24th, 2008 08:11 AM
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
compare nmnm XSLT 3 April 24th, 2007 08:13 AM
compare these date fields and compare and get the susanring Oracle 1 July 24th, 2006 04:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.