473,414 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Need To Display In Table Very Urgent

Hi All,

I neeed to dispaly the data in html table tag

Query :-select comp,total,funds from table1,
WHICH WIL RETURN 3-RECORDSETS

rs_query(0)
rs_query(1)
rs_query(2)


The 2nd row is retrived from aother query
Query :-select companies from table2 where comp='reliance'

RS_fund(0)


i need to display the recordset in a table .can some one pls help it ASAP.
pls mail me at <removed email - use PM if necessary>




fOR EX:-

Ist rOW:-Reliance
2nd ROW :-RPL
rnL
rnrl
3rRD ROW:-1000
4TH ROW:-333

Ist row ,3rd row and 4th row values are retrived from a single query


CODE:-
[html]
<tr id="COL1" colspan=7 bgcolor="<%=bgCol%>" >
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(0)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_FUND.fields(0)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(1)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(2)%></font></b></td>
</tr>
[/html]
Please help me ASAP i am havng a dead line
Nov 30 '07 #1
2 1247
omerbutt
638 512MB
which platform are you using where from you are displaying the data in a table from the data base or by taking it as a input from the user ....elaborate your question before your expect a reply
Dec 1 '07 #2
jhardman
3,406 Expert 2GB
Hi All,

I neeed to dispaly the data in html table tag

Query :-select comp,total,funds from table1,
WHICH WIL RETURN 3-RECORDSETS

rs_query(0)
rs_query(1)
rs_query(2)
Why does this return 3 recordset? or do you mean it returns 3 records?
The 2nd row is retrived from aother query
Query :-select companies from table2 where comp='reliance'

RS_fund(0)
...
CODE:-
[html]
<tr id="COL1" colspan=7 bgcolor="<%=bgCol%>" >
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(0)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_FUND.fields(0)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(1)%></font></b></td>
<td width=122px ><font face="" id="COL1" size="2" class="pastandard"><%=rs_query.fields(2)%></font></b></td>
</tr>
[/html]
Please help me ASAP i am havng a dead line
This looks good. What part is giving you trouble?

Jared
Dec 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: SB | last post by:
What I want to achieve ... Display file names from sql server database, on click the file should open up using test.exe file. Using the following code, I am able to display the files and click on...
1
by: XML newbie: Urgent pls help! | last post by:
I am working on VB.Net application. I have a GUI where the user logs on and gets SessionId. Once, the connection is successful, the user is redirected to another screen where he choses which table...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
1
by: rajbala.3399 | last post by:
Hai all, I need to get multiple image buttonsand wheni click on the image button it should display corresponding image on window and if i click another image button it is also display on same...
1
by: karizmatrix22 | last post by:
Hi, I need a programmer who can write 3 programs for following questions below.Programs need to be ready before nextweek.thank you. Person who help me these 3 questions will be get paid.. I am...
2
by: cj | last post by:
My code below gives me "SQL: Column 'BTN' is not found." It will work if I use an inner join or just join but those two joins don't return all the rows. BTN has 5 rows, but arcust01 has only has...
1
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
3
by: kashhere | last post by:
Hi i am working on drop down list boxes. My main aim is to display a table if the option is selected in the list box i have kept the table as invisible please guide me towards the solution ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.