asp.net add new item problem

Hi,

I have created web application in asp.net(3.5 framework) using visual studio 2010.

I have created 4 project under single Solution named
1. BusinessLogic        //this namespace contained business logic .cs files
2. DataLogic              //this namespace containes DataLogic .cs files
3. Common               //this sets various properties for calling forms
4. Final                      //this project containes all webforms.

Now say for example I add Demo1_Add.aspx page to Final namespace. now when i see scripting tag of this page, it shows me below mentioned page directive

<%@ Page Title="" Language="C#" MasterPageFile="~/Dashboard.Master" AutoEventWireup="true" CodeBehind="Demo1_Add.aspx.cs" Inherits="DataLogic.Demo1_Add" %>

now my actual problem is Inherits section. In Inherits section it is showing me "DataLogic.Demo1_Add".   Actaully it should be "Final.Demo1_Add". Due to this i am facing linking problem. kindly give me solution to it.

thanks
ronipatsAsked:
Who is Participating?
 
Luis PérezConnect With a Mentor Software Architect in .NetCommented:
Check your Root namespace under Project properties into your "Final" project.

Hope that helps.
0
 
ronipatsAuthor Commented:
RolandDeschain,

It works...

Thanks for giving prompt soultion
0
All Courses

From novice to tech pro — start learning today.