protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList1.AutoPostBack = true;
Class1 cc = new Class1();
string k = DropDownList1.SelectedItem.Text;
DataTable l = cc.table1(k);
GridView g = new GridView();
g.DataSource = l;
g.DataBind();
}
質問する
119 次