[I]Server.aspx[/I]
<%@ Page Language="C#" CodeBehind="Server.aspx.cs" AutoEventWireup="false"  Inherits="AMChat.Server" %>
<p>
    &nbsp;</p>
[I]Server.aspx.cs(excerpt)[/I]
namespace AMChat
{
    /// <summary>
    /// Summary description for Server.
    /// </summary>
    public class Server : System.Web.UI.Page
    {
        private void Page_Load(object sender, System.EventArgs e)
        {
.
.
.

When I build this application, I get an error:

Missing partial modifier on declaration of type 'AMChat.Server'; another partial declaration of this type exists
How can I remove this ...... ???
Please Help !

public partial class Server

All code behind classes that match up with a .aspx page have to be partial classes. The page itself is part and the code behind is part.

Yes, "partial" keyword is missing.

I got it solved finally .....
Thanks a lot ! :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.