dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TheGreatCthulhu

Search: Search took 0.03 seconds.

  1. Re: is the a C# equivalent to TextBox(i).Text =

    Don't worry, just a few modifications. Just to make sure - this is WinForms? All controls derive from the Control class, and thus inherit it's interface. The Control class has a Boolean property...
  2. Re: is the a C# equivalent to TextBox(i).Text =

    NullReferenceException:

    The line:

    TextBox[] textBoxArray = new TextBox[10];
    creates a new, empty array of TextBox-es.

    When you write "textBoxArray[i]", you are accessing an element of the...
  3. Re: is the a C# equivalent to TextBox(i).Text =

    As Arjay said, not without creating the array on your own first.
    If DataMiser is right about the nature of your question, then you can see throughout the thread that, unlike VB, C# doesn't...
  4. Re: is the a C# equivalent to TextBox(i).Text =

    Collection element access?
    TextBox[i].Text = "whatever";

    The same syntax is used to declare an array.
    TextBox[] textBoxArray = new TextBox[count];
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)