我爱Aspx >> Asp.Net >> Visual Studio Add-Ins Every Developer Should DownlAfter installing the CopySourceAsHTML add-in, simply select the code you want to copy and then select the Copy Source as HTML command from the right-click menu. After selecting this option you will see the dialog box shown in Figure 11 .
Figure 11 Options for CopySourceAsHTML
From here you can choose what kind of HTML view you want to create. This can include line numbers, specific tab sizes, and many other settings. After clicking OK, the HTML is saved to the clipboard. For instance, suppose you were starting with the following code snippet inside Visual Studio:
private long Add(int d, int d2) { return (long) d + d2; }
Figure 12 HTML Formatted Code After you select Copy As HTML and configure the HTML to include line numbers, this code will look like Figure 12 Ҷƪл˵?
ASP通用分页类[05-20]
XML 如何推动下一代信息共享应用..[05-20]
基于XML的三层C/S模型[05-20]
用Asp.net实现简单的文字水印[05-20]
用浏览器来接收C# 的程序返回的时..[05-20]
使用C# 编写扩展存储过程[05-20]
C#正则表达式应用范例[05-20]
ASP生成静态网页的方法[05-20]
用ASP动态生成JavaScript的表单验..[05-20]
使用ASP实现http://xx@xx.xx虚拟..[05-20]