•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 392,083 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,952 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 5695 | Replies: 0
![]() |
•
•
Join Date: Dec 2006
Posts: 12
Reputation:
Rep Power: 2
Solved Threads: 0
Hi,
I have a small doubt...I request the answer for this question....
How to bind images and links from database to a Repeater control(LINKS-a text on clicking this should navigate to the required page(BASED ON QUERY STRING), IMAGES are two columns of a table in the database) and have a horizontal display of data on the control...That is.., an image with its link next to it..horizontally.There should be four columns in a row with the first column bearing the image and the second column bearing the link..If the number of records go beyond six then the data from the seventh record bearing the image and the link should start off from the third and fourth columns respectively on the same repeater control on the same page...Kindly bear in mind, i am not discussing about sorting and paging hereDisplay of the images and the links should flow continually on the same page.
EXAMPLE: The repeater control should display data in this manner.
A Repeater control
record 1 image1 link1 image7 link7 record7
record 2 image2 link2 image8 link8 record8
record 3 image3 link3 image9 link9 record9
record 4 image4 link4 image10 link10 record10
record 5 image5 link5 image11 link11 record11
record 6 image6 link6 image12 link12 record12
These 12 records flow in, from the database
IF THE AFOREMENTIONED ACTIVITY IS NOT POSSIBLE USING REPEATER CONTROL OR IF IT IS NOT ADVISABLE,KINDLY SUGGEST AN ALTERNATIVE.
I AM BADLY IN NEED OF THE SOLUTION...KINDLY HELP ME OUT....
http://forums.digitalpoint.com/images/misc/progress.gif
I have a small doubt...I request the answer for this question....
How to bind images and links from database to a Repeater control(LINKS-a text on clicking this should navigate to the required page(BASED ON QUERY STRING), IMAGES are two columns of a table in the database) and have a horizontal display of data on the control...That is.., an image with its link next to it..horizontally.There should be four columns in a row with the first column bearing the image and the second column bearing the link..If the number of records go beyond six then the data from the seventh record bearing the image and the link should start off from the third and fourth columns respectively on the same repeater control on the same page...Kindly bear in mind, i am not discussing about sorting and paging hereDisplay of the images and the links should flow continually on the same page.
EXAMPLE: The repeater control should display data in this manner.
A Repeater control
record 1 image1 link1 image7 link7 record7
record 2 image2 link2 image8 link8 record8
record 3 image3 link3 image9 link9 record9
record 4 image4 link4 image10 link10 record10
record 5 image5 link5 image11 link11 record11
record 6 image6 link6 image12 link12 record12
These 12 records flow in, from the database
IF THE AFOREMENTIONED ACTIVITY IS NOT POSSIBLE USING REPEATER CONTROL OR IF IT IS NOT ADVISABLE,KINDLY SUGGEST AN ALTERNATIVE.
I AM BADLY IN NEED OF THE SOLUTION...KINDLY HELP ME OUT....
http://forums.digitalpoint.com/images/misc/progress.gif
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
.net .net framework 3.0 access ajax asp breach broadband code combo crime custom daniweb data data protection data transfer database developer development dom drive dropdownlist feed forensics government hard hardware hitachi internet linux microsoft module msdn net news office reader reuse security skin software sql storage terabyte theme vista weather web wikipedia xml xoap
- ASP.Net timer control (ASP.NET)
- file open dialog box control in asp.net (ASP.NET)
- ASP .NET Display Random records from the database (ASP.NET)
- textarea Control in ASP.NET (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- richtextbox in asp.net (ASP.NET)
- Question for ASP.NET/Mozilla Users...or anyone... (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Connection to sql database in c#
- Next Thread: Accessing Datagrid selected row cell value (c# .NET)


Linear Mode