To start page

CopySourceAsHtml

File name File size Publisher
CopySourceAsHtml 163 KB http://www.jtleigh.com/
Description

CopySourceAsHtml is an add-in for Microsoft Visual Studio 2005 that allows you to copy source code, syntax highlighting, and line numbers as HTML. CSAH uses Visual Studio's syntax highlighting and font and color settings automatically. If Visual Studio can highlight it, CSAH can copy it, and your source should look the same in your browser as it does in your editor.

Note:

The generated code uses inline CSS for formating. If you need cleaner code for your web site consider using this web based tool instead: http://manoli.net/csharpformat/

Example:

public partial class PageFooter : UserControlBase

    {

 

        protected void Page_Load(object sender, EventArgs e)

        {

            if (!IsPostBack)

            {

                DataBind();

            }

        }

    }

Comment this page
(No of comments: 0)

All rights reserved © 2007 epiforum.net | All trademarks and registered trademarks appearing on epiforum.net are the property of their respective owners. Every effort is made to provide accurate & complete information. However we cannot guarantee that there will be no errors and we do not make any warranty, expressed or implied, including the warranties of merchantability and fitness for a particular purpose with respect to documents available from epiforum.net. Additionally, epiforum.net assume no legal liability for the accuracy, completeness, or usefulness of any information, product, or process disclosed herein and do not represent that use of such information, product, or process would not infringe on privately owned rights. epiforum.net a brainchild of INEXOR AB.