472,342 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Displaying data in tabular format in asp from database

34
Hello,
I have to display all the data from the database in tables in ASP. I am able to get the data but the problem is of displaying one to many relations.Like below Title1 has two records but how would i display in the table
Title1 heading1 heading 2 heading 3
x y x1 y1
a b a1 b1

Tite2 heading1 heading 2 heading 3
x y x1 y1
a b a1 b1

My loop is getting all the data together. I don't know hoe to seperate that

Could any one help with this.

Many thanks,
Teju
May 31 '07 #1
2 2305
jhardman
3,406 Expert 2GB
Hello,
I have to display all the data from the database in tables in ASP. I am able to get the data but the problem is of displaying one to many relations.Like below Title1 has two records but how would i display in the table
Title1 heading1 heading 2 heading 3
x y x1 y1
a b a1 b1

Tite2 heading1 heading 2 heading 3
x y x1 y1
a b a1 b1

My loop is getting all the data together. I don't know hoe to seperate that

Could any one help with this.

Many thanks,
Teju
I'm not sure I got you exactly. I once had to display a long list of works written by different authors. The authors were in one table and the works in another. So essentially I had a list of authors, and under each was a table of their works. Is this something similar to what you want? How is your db table set up? Is it more than one table?

Jared
May 31 '07 #2
teju
34
Hello,
Actually, I wanted to display one to many relationship data on the ASP page. SO that it shouldn't display the duplicate titles.

I got it from asp faq web

Thanks for your help
Jun 1 '07 #3

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

Similar topics

2
by: Joo Park | last post by:
Hello, i have an aspx page that displays data in tabular format. I'd like to change this page so that it outputs that same data into excel...
2
by: t | last post by:
Hi, I have the following problem. The web-based software I am to create is going to display tabular data. Lots of data so I need some pagging...
1
by: kunu601 | last post by:
hi my self uttam . i am working in r & d organization . friends i need a he lp from u . if any one of u know how add two sections(consisting of...
13
by: David W. Fenton | last post by:
I've been struggling the last two days with something I thought was very easy, which is to open a web page with a form on it and populate the form...
3
by: maylee21 | last post by:
hi, anyone can help me figure out how to read data from a text file like this: 10980012907200228082002 and extract the data according to this...
2
by: NasirMunir | last post by:
I have created a table in access (copied from excel). Then I created a form which contains a text field and a list box. The text field is actually a...
38
by: Sanders Kaufman | last post by:
I'm converting my table-based layouts to css-positioned divs - but the ONLY reason I'm doing it is because it's *considered* a best practice. I...
3
scubak1w1
by: scubak1w1 | last post by:
Hello, I am wanting a "pretty output" of tabular data generated on the fly and saved in an array (PHP)... That is, I have a link so users can...
4
by: jeet123 | last post by:
hi, i am new to c#. How can i make a form which displays data in a tabular format where the data is retrieved from the database (ms-access) and...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

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.