What's "Inherits" used for?
-
Hi, I have my start page set to guestbook.aspx, and now I created page register.aspx, and there is Inherits="guestbook.register" in the page directive. It says me error, and I don't know what to do - these two pages are absolutely independent - there is only a link to register.aspx page on guestbook.aspx. Thanks
-
Hi, I have my start page set to guestbook.aspx, and now I created page register.aspx, and there is Inherits="guestbook.register" in the page directive. It says me error, and I don't know what to do - these two pages are absolutely independent - there is only a link to register.aspx page on guestbook.aspx. Thanks
Inherits identifies the class from which the page derives You are getting error as you have a web page with same name as namespace rename guestbook.aspx to guestbook1.aspx Sanjay Sansanwal www.sansanwal.com