void bindcompany() { users us = new users(); //绑定 drpcompany.DataSource = us.BindGoods_company().Tables[0].DefaultView; drpcompany.DataTextField = "C_name"; drpcompany.DataValueField = "C_name"; drpcompany.DataBind(); }
void bindcompany() { users us = new users(); //绑定 drpcompany.DataSource = us.BindGoods_company().Tables[0].DefaultView; drpcompany.DataTextField = "C_name"; drpcompany.DataValueField = "C_name"; drpcompany.DataBind(); }