T
Tony Johansson
Hello!
What is the difference between using statement 1 and 2 ? I got the same
result.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ArrayList countries = new ArrayList();
countries.Add("England");
countries.Add("France");
countries.Add("Sweden");
countries.Add("Denmark");
countries.Add("Italy");
countryList.DataSource = countries;
1 Page.DataBind();
2. countryList.DataBind();
}
}
//Tony
What is the difference between using statement 1 and 2 ? I got the same
result.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ArrayList countries = new ArrayList();
countries.Add("England");
countries.Add("France");
countries.Add("Sweden");
countries.Add("Denmark");
countries.Add("Italy");
countryList.DataSource = countries;
1 Page.DataBind();
2. countryList.DataBind();
}
}
//Tony