Repeater

J

Jim Heavey

Hello, I am trying to use the repeater and I have been successful, but I
have a few questions.

1. Can I control how many times it repeats accross the page?
2. Can I control if it repeats across or down the page.
3. If I want to print somthing like Field1 "/" Field2 where both Field1
and field2 are columns in a datatable. Do I have to use 3 labels to
accomplish this?

Thanks in advance for your assistance!!!
 
S

Saravana [MVP]

1. Can I control how many times it repeats accross the page?
Yes, you can control using datasource. If you want to have only 10 items
then filter your datasource and then bind it to the repeater. There is no
direct way to achieve this in repeater like datagrid.
2. Can I control if it repeats across or down the page.
No, you cant control repeats across or down the page, if you want to repeate
across the page then you should go for datalist
3. If I want to print somthing like Field1 "/" Field2 where both Field1
and field2 are columns in a datatable. Do I have to use 3 labels to
accomplish this?
No need to have three labels, you can have one label. You can give the value
for the label as said:
Thanks in advance for your assistance!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top