Compiler Error Message: CS0260: Missing partial modifier on declaration of type 'Savage.PL.PresentationLayer'; another partial declaration of this type exists

Posted on 2007-07-28
Last Modified: 2008-01-09
Hi experts,

i go the above error while running this code

using System;
using Savage.BLL;

namespace Savage.PL
    public class PresentationLayer : System.Web.UI.Page===============this line errors
        protected System.Web.UI.WebControls.DataGrid myGrid;
            private void Page_Load(object sender, System.EventArgs e)
                myGrid.DataSource = new BusinessLogicLayer().GetCustomers();
            override protected void OnInit(EventArgs e)
            private void InitializeComponent()
                this.Load += new System.EventHandler(this.Page_Load);

how do i fix,  thanks
Question by:SirReadAlot
    LVL 22

    Accepted Solution

    try changing

     public class PresentationLayer


     public partial class PresentationLayer

    Author Comment


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now