in

All Tags » ASP.NET » C# (RSS)

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • Load a txt file in a TextBox

    Here is a very simple piece of C# code to load a text file in a TextBox. Typical use to display a disclaimer. using System.IO; if (!Page.IsPostBack) { StreamReader StreamReader1 = new StreamReader (Server.MapPath( "disclaimer.txt" )); txtDisclaimer.Text = StreamReader1.ReadToEnd(); StreamReader1...
    Posted to Laurent Duveau (Weblog) by Anonymous on 03-02-2008
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems