Author: cmt9000 | Posted on: 6/4/2009 12:42:26 PM | Views : 451

I'm having trouble figuring out why the code below won't work.  It works when I put it within a subroutine, but I need it to be accessible to any and every sub or function in my partial class so I put it right below the partial class statement.  But I get a "declaration expected" error on amnsmgr.
Am I doing something wrong?
 Partial Class importXml Inherits System.Web.UI.Page Private amnsmgr As XmlNamespaceManager = New XmlNamespaceManager(AMnav.NameTable) amnsmgr.AddNamespace("am", "http://ns.super.org/xml/v1/") Thanks! ...

Go to the complete details ...