Hi, I'm a newbee to asp.net. I hope someone can help me.
I've created a BLL and DAL layer to get a country list out of my database.
In my asp page I have a dropdownlist where I would show the countries.
Asp page:
lstbCountry.DataSource =
lstbCountry.DataBind();
BLL
namespace
{
}
DAL
cmd.Connection = cn;
cmd.CommandType =
cmd.CommandText =
cn.Open();
country.Id = (
country.Country = dr[
CountryList.Add(country);
cn.Close();
cmd.Parameters.Clear();
get set class
this is the class where BLL and DAL inherit from
I have 3 test countries in my database,
the result in the listbox is 3 times HelpDeskApplication.Country_get_set (namespace + file from inheritance.
Debug show me that the members Id and Country are one level lower then HelpDeskApplication.Country_get_set.
Hopes this is clear enough to understand
many thanks in advance