Eval strings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KfirShtober
    New Member
    • Jul 2007
    • 11

    Eval strings

    Hey, is there a function that eval strings in C#?
    I searched a lot but I didn't find an answer...
  • vanc
    Recognized Expert New Member
    • Mar 2007
    • 211

    #2
    I don't have the word "eval" in my dictionary. Ca you tell me what is it first, thanks.

    Comment

    • Annath
      New Member
      • Jun 2007
      • 9

      #3
      Try this: http://www.odetocode.c om/Code/80.aspx

      Comment

      • KfirShtober
        New Member
        • Jul 2007
        • 11

        #4
        Hello again...
        This is my problem :
        I have a lot of textboxes in names : d1, d2, d3, d4, d5, d6, d7, d8 until d31.
        I want to make a for in this way:
        for(int x=1;31>x;x++){
        d[x].Text = x;

        }

        ==== > I mean L d[x] = d1; and then d[x] = d2.
        *it is not array
        Can someone help me please?

        Comment

        • leela mn
          New Member
          • May 2007
          • 43

          #5
          try this........
          for (i 1 to 31)
          ((TextBox)Page. FindControl("d" + i)).Text = "value";

          Comment

          Working...