473,569 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Showing data in DataList

LIN
This is how my data looks like: I get this in a data set

IP Pages
----------------------
1 Page1
1 Page2
1 Page3
1 Page4
2 Page1
2 Page3
3 Page2
3 Page4

I want to display it as

IP Pages
----------------------
1
Page1
Page2
Page3
Page4
2
Page1
Page3
3
Page2
Page4

Can this be done using a datalist? If yes, what would be the best approach?
please advice.

Thank You!

LIN
Nov 18 '05 #1
0 696

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

Similar topics

1
1262
by: cara_little | last post by:
Hello, I'm trying to show monthly summary info in some type of data control like so: Jan Feb Mar Jun Apples 10 15 20 25 Oranges 5 3 6 10 Bananas 8 7 4 9 so that it shows the number of apples bought in Jan, etc.
0
3092
by: Alex | last post by:
Interested in more .NET stuff visit www.dedicatedsolutions.co.uk The DataList is not as powerful as the DataGrid. It requires more work from you since it has no default data presentation format. However, the DataGrid begins to get very cumbersome as the number of columns of data you present increases. Anything more than half a dozen columns...
0
232
by: LIN | last post by:
This is how my data looks like: I get this in a data set IP Pages ---------------------- 1 Page1 1 Page2 1 Page3 1 Page4 2 Page1 2 Page3
5
2625
by: Stephanie_Stowe | last post by:
Hi. I am trying to get used to AS.NET. I have been doing ASP classic for years, and am now in a position to do ASP.NET. I am in the stumbling around until I get my bearings phase. I hope you will bear with me. I am going through the QuickStart. After reading a little, I am trying to implement a simple page on a simple project I have made up....
3
2046
by: bbernieb | last post by:
Hi, All, Is it possible to access a variable inside of a data binding, without the variable being out of scope? (Note: On the DataBinder line, I get an error message that says "Name 'i' is not declared". The data bind is for a DataList.)
0
1659
by: fig000 | last post by:
Hi, I have a datalist with bound data from a database. If I wanted to access one of the fields I would normally use the itemdatabound event to access that field on each row. However in this case I want to be able to click one button (not a button on each row of the datalist) and have the code run through each row of the datalist and...
3
2207
by: asadikhan | last post by:
Hi, I am trying to use a datalist to edit data in a MySql database as follows. For now I just want to be able to get the changes to be made on the dataset. Here is my code: using System; using System.Configuration; using System.Collections; using System.ComponentModel;
1
1692
by: lucaslyana | last post by:
I have a datalist with multiple controls in the itemtemplate which can be selected. For example, a button can be clicked to vote on a topic, and upon selection it increments by 1. If I click on a second item from the same row in the datalist, such as another vote button, or a hyperlink, the row disappears and shows as a blank in the data...
0
1817
by: Jim in Arizona | last post by:
Using a datalist, I have an ItemTemplate and an EditItemTemplate. The default view shows several records within the ItemTemplate based on a basic SELECT statement. When the user presses the Edit button on an item, then they should be taken to the EditItemTemplate. When the Edit button is pressed, it calls on a different SQL statement to...
0
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.