User Profile

Collapse

Profile Sidebar

Collapse
Haneen
Haneen
Last Activity: Aug 14 '10, 01:53 AM
Joined: Aug 13 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Haneen
    replied to nameing the labels
    in .NET
    It's C#
    ...

    I know I can't write labeli here in this code but i did so to declare what i need
    I need a way so that I can pass over the 15 label using there names

    instead of writing

    Code:
    label1.text="one";
    label2.text="two";
    ..
    I need to do this with a for loop like
    Code:
    for(int i=0;i<15;i++)
    {
      label i = "some
    ...
    See more | Go to post

    Leave a comment:


  • Haneen
    replied to nameing the labels
    in .NET
    sorry i've done a mistake..

    Code:
    string[] s = new string[15];
    See more | Go to post

    Leave a comment:


  • Haneen
    started a topic nameing the labels
    in .NET

    nameing the labels

    Hi, This is haneen :)

    I face a problem with labels
    I have a for loop and I want to pass over 15 labels like this:

    Code:
    string[15] name = new string [15];
    for(int i=0;i<15 ;i++)
    {
      labeli=name[i];
    }
    I can't use the variable i here .... so what can i do ??

    thanx
    See more | Go to post
No activity results to display
Show More
Working...