protected void fillGrid(string PrdID) { iPartRequestClient objService = new iPartRequestClient(); CustomProfile profile = CustomProfile.GetProfile(); GVBOMDetail.DataSource = null; GVBOMDetail.DataBind(); DataSet dsBomDetails = new DataSet(); dsBomDetails = objService.GetBomDetails(PrdID, profile.DBConnection._constr); GVBOMDetail.DataSource = dsBomDetails; GVBOMDetail.DataBind(); }