예제 #1
0
 protected void setDGV()
 {
     dgv.DataSource = db.GetData(tb1.SelectedItem.Value, tb2.SelectedItem.Value, tb3.SelectedItem.Value);
     dgv.DataBind();
 }
        public IEnumerable <Country> Get()
        {
            DBtools dbt = new DBtools();

            return(dbt.GetData("Country"));
        }