473,386 Members | 1,745 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,386 software developers and data experts.

Response.Write alternatives

My standard asp application contains a page that does something like
this..

- runs a query, the result set of which looks like

1, "Event 1", "Event 1 Problem 1", "resolution"
1, "Event 1", "Event 1 Problem 2", "resolution"
2, "Event 2", "Event 2 Problem 1", "resolution"
2, "Event 2", "Event 2 Problem 2", "resolution"
- the page output is as follows:

1
Event 1

Event 1 Problem 1
Event 1 Problem 1 resolution

Event 1 Problem 2
Event 1 Problem 2 resolution

----

2
Event 3

Event 2 Problem 1
Event 2 Problem 1 resolution

Event 2 Problem 2
Event 2 Problem 2 resolution

How do i go about this in Asp. NET using code behind? I can always
"write" the output to a label's text field, but given that there can be
1000s of records, this approach doesn't seem right.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
1 1134
Looks like you could use nestead repeaters :
http://support.microsoft.com/default...b;EN-US;306154
--

"Bijoy Naick" <b_*****@donoteamil.yahoo.ca> a écrit dans le message de
news:%2****************@TK2MSFTNGP10.phx.gbl...
My standard asp application contains a page that does something like
this..

- runs a query, the result set of which looks like

1, "Event 1", "Event 1 Problem 1", "resolution"
1, "Event 1", "Event 1 Problem 2", "resolution"
2, "Event 2", "Event 2 Problem 1", "resolution"
2, "Event 2", "Event 2 Problem 2", "resolution"
- the page output is as follows:

1
Event 1

Event 1 Problem 1
Event 1 Problem 1 resolution

Event 1 Problem 2
Event 1 Problem 2 resolution

----

2
Event 3

Event 2 Problem 1
Event 2 Problem 1 resolution

Event 2 Problem 2
Event 2 Problem 2 resolution

How do i go about this in Asp. NET using code behind? I can always
"write" the output to a label's text field, but given that there can be
1000s of records, this approach doesn't seem right.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gary | last post by:
I am having a strange problem that I cannot solve. I have an asp page that I use for a user to login and gain access to other pages. When the user logs in I set a couple of session variables like...
9
by: Dominic Godin | last post by:
Hi, I have an asp page that does a lot of processing and reports it's finished by printing the word "Success". For example: <% SomeFunction(SomeVar) SomeFunction(SomeVar1) ...
13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
5
by: Luiz Vianna | last post by:
Guys, I need to send some info to my client while I'm processing some stuff. The flow will be something like : -process -response -process -response .... I imagine to use response.flush...
0
by: Patrick | last post by:
hi several general webpages (more or less static, e.g. errorpage, timeoutpage etc.) i need in all kind of asp.net-applications. instead of copy this pages (the *.aspx or *.html) into every...
1
by: csgraham74 | last post by:
i have the following code Response.AddHeader("content-disposition", "attachment; filename=" & str_AccountNo & ".pdf") Response.ContentType = "application/pdf"...
0
by: jose.mendez22 | last post by:
I'm trying to fire a pop-up window before I execute a lengthy stored procedure so I may utilize this window as a status window on number of records executed. After my response.write statements...
6
by: john | last post by:
The standard method to transmit a file from an aspx page to a browser is to stream the file to the response then end the response. The HTML code generated by the aspx page is discarded, and the...
4
by: cbtechlists | last post by:
I have an ASP app that we've moved from a Windows 2000 to a Windows 2003 server (sql server 2000 to sql server 2005). The job runs fine on the old servers. Part of the app takes a recordset and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.