Separating Content (aspx) from Code (aspx.cs) in ASP.NET
- by firedrawndagger
I would like to know what is the best practice on separating the content of an aspx page (ASP.NET 3.5) from the code (I'm using C#). I have a form that users can type data in - for example they are allowed to enter a percent. If they
Otherwise for example I would like to display the following error messages:
<p id="errormsg"…