protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { WebDB.BDSoapClient ws = new WebDB.BDSoapClient(); DataSet ds = ws.GetData(); gridDB.DataSource = ds.Tables[0]; gridDB.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { WebDB.BDSoapClient ws = new WebDB.BDSoapClient(); DataSet ds = ws.GetData(); gridDB.DataSource = ds.Tables[0]; gridDB.DataBind(); }