DataList ItemTemplate

  • Thread starter Klaus E. Frederiksen
  • Start date
K

Klaus E. Frederiksen

Hi

I have some code to read columns from a DataGrid to find each columns
headertext.I use this code:

For Each colCur In dgcAct.Columns


lblOrgVal = New System.Web.UI.WebControls.Label

lblOrgVal.Text = colCur.HeaderText

Now I want to do the same thing with a DataList, but this time I need to
read the controls that's in the ItemTemplate of the DataList and find the
text properties for all the labels control there.

I can't find a way to do this.

Anyone have a sugstion how this can be done ??

Klaus E. Frederiksen, Denmark
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top