Current location: Hot Scripts Forums » Programming Languages » ASP » matrix like display


matrix like display

Reply
  #1 (permalink)  
Old 01-24-11, 06:40 AM
radujit radujit is offline
New Member
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
matrix like display

Hi,
I have a tabel in access db fx(bank,currency,operation(buy or sell).
I created 4 recordsets that pick data as follows:
recordset1 (Bank, EUR, Buy)
recordset2 (Bank, EUR, Sell)
recordset3 (Bank, USD, Buy)
recordset4 (Bank,USD,Sell).

Now I want the data to be dispalyed using classic ASP on a page as follows:

Bank EUR-Buy EUR-Sell USD-Buy USD-Sell
recordset1 recordset1 recordset2 recordset3 recordset4

More specific:


Code:
in the original table in database:

Code:
Code:
ID   Bank    Transaction type    Currency   Value
1    X         Buy                      EUR          1
2    X         Sell                      EUR          2
3    X          Buy                     USD          3
4    X          Sell                     USD          4

Data in the ASP should be displayed as follows:

Code:
Code:
Bank        EUR - Buy   EUR - Sell   USD-Buy   USD-Sell
X                      1               2                    3              4
Thank you in advance.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 04:07 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.