Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 639.6k

Class Is Not Accessing In Another Class

Oct 5 2012 2:34 AM
Hi
I have create a website and i have create two folders one is BAL(Business access layer) and other one is DAL(Data access layer)
<big>In BAL i have created this code</big>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
    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 i have create class in DAL and i am trying to create below code in DAL
problem is that Employees class is not accessing and also list<> not accessing here 
i don't know why it is happening can any one help me please
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for insert_customer
/// </summary>
public class insert_customer
{
public insert_customer()
{}
    public List<Employees> insert_emp(Employees emp)
    {
        
    }
}
  
<big>problem is that Employees class is not accessing and also list<> not accessing here 
i don't know why it is happening can any one help me please
</big>

Answers (1)