Load text from file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Dvali

    Load text from file

    How can I load text from file to TextBox?


  • Lebesgue

    #2
    Re: Load text from file

    for example this way

    using(StreamRea der reader = File.OpenText(f ileName))
    {
    textBox1.Text = reader.ReadToEn d();
    }

    "David Dvali" <david_dvali@ho tmail.com> wrote in message
    news:%23tvQSWWU FHA.3352@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > How can I load text from file to TextBox?
    >
    >[/color]


    Comment

    Working...