Click here to Skip to main content
15,881,709 members
Articles / Web Development / ASP.NET

Create Simple Error Log Files using ASP.NET and C#

Rate me:
Please Sign up or sign in to vote.
3.56/5 (44 votes)
27 May 20022 min read 777.6K   14.2K   100  
An article on generating text based error log files
<%@ Page language="c#" Codebehind="CreateLogFiles.aspx.cs" AutoEventWireup="false" Inherits="CreateLogFiles.CreateLogFiles1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>CreateLogFiles</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="CreateLogFiles" method="post" runat="server">
			<asp:Label id="Label1" runat="server">Please specify your Fullpath filename :</asp:Label>
			<asp:TextBox id="TxtFilename" runat="server" Columns="35"></asp:TextBox>
			<asp:Button id="BtnFind" runat="server" Text="Search"></asp:Button>
			<br>
			<asp:Label id="Msg" runat="server" Visible="False" ForeColor="Red"></asp:Label></form>
	</body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer AliAhmadH
Indonesia Indonesia
Was born at Subang - West Java, Indonesia. Like all IT related information include programming and networking. Can be emailed at ali(at)aliahmadh.com

Comments and Discussions