| | |
Horizontal display of data on Repeater control in asp.net
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Dec 2006
Posts: 12
Reputation:
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
![]() |
Similar Threads
- ASP.Net timer control (ASP.NET)
- richtextbox in asp.net (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)
- 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)
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal forms formview gridview gudi homeedition iis javascript jquery listbox menu microsoft mouse mssql nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers





