Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anybody on for translating VFP to C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01170530
Message ID:
01170880
Vues:
5
>Hi Paul.. thanks for your reply.
>
>Thats exactly what I want.
>One more question...
>If I wanted to cycle through each of these text boxes and say assign a caption to each of them,is that possible ?

I'm not sure what you mean by caption?

At any rate, you can cycle through the Controls collection and set anything you need to:
foreach(Control control in this.Controls)
{
   TextBox txtbox = control as TextBox;

   if (txtbox != null)
   {
      txtbox.Text = txtbox.Text + " More Text";
   }
                
}
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform