Hi,
Write your code like below
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DAL;
namespace BAL
{
public class Employees
{
public Employees()
{ }
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Address { get; set; }
public string Number { get; set; }
}
}
And then write your DAL code as below
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BAL;
namespace DAL
{
/// <summary>
/// Summary description for insert_customer
/// </summary>
public class insert_customer
{
public insert_customer()
{}
public List<Employees> insert_emp(Employees emp)
{
}
}
}
One more thing you should take care that both BAL and DAL folder are in same project.
If you have created BAL and DAL as different project then you need to add reference of the project as well to access the class from other project.
Hope this will help you.