Ejemplo n.º 1
0
    public void Countries()
    {
        DataTable Dt = DALC.GetCountriesList();

        DlistCountry.DataSource = Dt;
        DlistCountry.DataBind();
        DlistCountry.Items.Insert(0, new ListItem("--", "0"));

        Regions(DlistCity, DlistCountry.SelectedValue);
    }
Ejemplo n.º 2
0
    public void Countries()
    {
        DataTable Dt = DALC.GetCountriesList();

        DlistCountry.DataSource = Dt;
        DlistCountry.DataBind();
        DlistCountry.Items.Insert(0, new ListItem("--", "0"));

        DlistCountry2.DataSource = Dt;
        DlistCountry2.DataBind();

        DlistCountry3.DataSource = Dt;
        DlistCountry3.DataBind();
        DlistCountry3.Items.Insert(0, new ListItem("--", "0"));
        Regions(DlistCity3, DlistCountry3.SelectedValue);

        //Yaşadığı ünvan daimi Azərbaycan olmalıdır.
        DlistCountry2.SelectedValue = "1";
        Regions(DlistCity2, DlistCountry2.SelectedValue);
    }