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

Splitting a table in a repeater control

I've been doing most of my work in Dreamweaver.

I've been buliding some repeater controls where I put the TABLE tag in the
HeaderTemplate and the /TABLE tag in the FotterTemplate. Seems to work fine,
but VS.NET tags that as an error (since I don't have opening and closing
tags in the same template). Any reason to worry about this, or since it
works when output, just let it be?

-Darrel
Nov 18 '05 #1
3 1067
you can use code similar this :

<table>
<asp:repeater />
</table>

and put <tr><td></td></tr> in the ItemTemplate!!

Brun
"darrel" <no*****@hotmail.com> wrote in message
news:Od**************@TK2MSFTNGP09.phx.gbl...
I've been doing most of my work in Dreamweaver.

I've been buliding some repeater controls where I put the TABLE tag in the
HeaderTemplate and the /TABLE tag in the FotterTemplate. Seems to work fine, but VS.NET tags that as an error (since I don't have opening and closing
tags in the same template). Any reason to worry about this, or since it
works when output, just let it be?

-Darrel

Nov 18 '05 #2
> and put <tr><td></td></tr> in the ItemTemplate!!

but is there a reason I should *not* put the table tags in the
headerTemplate and footerTemplate?

-Darrel

Nov 18 '05 #3
In header template you can write <tr> for table header (columns names for
example!!) in footertemplate the table footer... :)

"darrel" <no*****@hotmail.com> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
and put <tr><td></td></tr> in the ItemTemplate!!


but is there a reason I should *not* put the table tags in the
headerTemplate and footerTemplate?

-Darrel

Nov 18 '05 #4

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

Similar topics

1
by: Georg Mayer | last post by:
Hi, In my DataSet, which is bound to a repeater, I have two tables: item and child: ds = new DataSet(); itemadapter.Fill(ds, "item"); childadapter.Fill(ds, "child"); How do I access e.g. the...
8
by: ASP Yaboh | last post by:
I have an ArrayList of data gathered from a database. I want to create a web page from this data by creating a <table>, each cell in each row displays the appropriate data. One of those cells in...
1
by: olduncleamos | last post by:
Hello all, I am experimenting with the repeater control and ran into something that I wasn't expecting. I would appreciate if the experts can confirm or correct my understanding. Here is a...
3
by: gg77 | last post by:
Hi, I don't have much knowledge of the table control. I am basically trying to use a table thats populated with data rows from a dataSet but currently things aren't working for me. below is...
9
by: sck10 | last post by:
Hello, I am building a web form that will be used to gather information for marketing plans. The form will have 15 questions which must be answered. Each question can have large blocks of text....
2
by: Nobody | last post by:
Ok, I've got my page laid out pretty much how I want it, but can't figure out one part... my "content" area is a fixed width table with 2 columns... COL A = 600px wide & COL B = 170px wide... ...
6
by: Bill | last post by:
Hi All, New to the whole .Net and C# thing but trying. In classic asp this was simple to fill a table with dynamic content and hyperlinks. Here is an example of what I am trying to do in classic...
5
by: Mr Not So Know It All | last post by:
i was able to add the table via the codebehind to the repeater (itemtemplate). the key was to add it to the container. however, now, the data is repeating itself in each row. can someone help me...
3
by: NullQwerty | last post by:
Hey folks, I've got a DataGrid that has gotten a little out of control and really slow because of its complexity (bunch of Template Columns too). For performance reasons, I'm looking to change...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.