Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

For each for a repeater?

Status
Not open for further replies.

ietprofessional

Programmer
Apr 1, 2004
267
US
How do you do a "for each" loop for a repeater.

Thanks!
 
To do what? Be a bit more specific please...

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
I'm actually trying to enable or disable some link buttons that are in a repeater with the letters a through z in them. I was going to disable all of them, create a function that receives a datatable, and enable the letters that has an item in a datatable that starts with that letter.

Thanks,
James
 
In that case you should be able to use the ItemCreated or ItemDataBound events to set whatever properties you need for your controls - no need to use a For/Each loop to go through them all.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top