I am creating a ASP.Net web Application using 3-tire architecture.
First i have add a new webform and it contains some codes (name space, class etc...)
Here is the below code...
Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace My_Menu
{
public partial class Default : System.Web.UI.Page
{
BusinessAccessLayer_Class Bal = new BusinessAccessLayer_Class();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnLogin_Click(object sender, EventArgs e)
{
}
}
}
Next i create a new folder and put a name "App_Code".
In that folder again i create a folder named "BAL".
And in that BAL folder i have added a new class named "BussinessAcessLayer.cs".
And it also contains some codes....
Here is the below code..
BusinessAccessLayer_Class.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace My_Menu.App_Code.BAL
{
public class BusinessAccessLayer_Class
{
}
}
When i create a object of BusinessAccessLayer_Class in Default webform..but i failed to create it.... can anyone please help me to create a object of the BusinessAccessLayer_Class , so only i can inherit the functions from the BusinessAccessLayer_Class .......
Thanks in advance..........
Dileep