This project has moved. For the latest updates, please go here.

Using DocX in ASP.NET application

Jul 10, 2012 at 1:32 PM

hi

I'm trying to use the library in my ASP.NET at run this code

using Novacode;
namespace zorbik
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DirectoryInfo di = new DirectoryInfo(@"C:\");
            Console.WriteLine("Non-Parallel took " + NonParallel_ReplaceText(di, "pear", "raep") + " miliseconds.");
           
        }
    }
}

and get the error "Error 3 The name 'NonParallel_ReplaceText' does not exist in the current context C: \ zorbik.net \ www \ zorbik \ zorbik \ WebForm2.aspx.cs 24 54 zorbik
"
Can I use this library on the client side?

I greet
Leszek