Laurent Duveau

Silverlight Expert and Trainer

Receive Email Updates

RunAtServer Blogs

Browse by Tags

All Tags » C# (RSS)
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...
Posted: mars 02 2008, 06:51 by Laurent Duveau
Filed under: ,