Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            db = new DBtools();
            if (!IsPostBack)
            {
                tb1.DataSource = db.GetTableList();
                tb1.DataBind();

                tb2.DataSource = db.GetHeaders("Country");
                tb2.DataBind();

                tb3.Items.Insert(0, "ASC");
                tb3.Items.Insert(1, "DESC");
            }
            GetCountry();
        }