From some time whenever i download the webpages example from the Internet.In code behind file of .aspx
page there is namespace mention before public partial class
in some example.But it never worked for me. I'm using the vs2010 is this format used in previous version of Visual site and why vs2010 not support them.
Like in code behind file
namespace AutoCompleteTextBox
{
public partial class AutoCompleteDemp : System.Web.UI.Page
Make sure your .aspx
's <@page>
directive has a matching Namespace:
<%@ Page Title="Contact" Language="C#" AutoEventWireup="true"
CodeBehind="AutoCompleteDemp.aspx.cs" Inherits="AutoCompleteTextBox.AutoCompleteDemp " %>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.