protected void dl_familia_SelectedIndexChanged(object sender, EventArgs e) { DataTable dt = new DataTable(); dt = (DataTable)ViewState["dt_operacion"]; if (dt != null) { dt.Rows.Clear(); this.gr_dato.DataSource = dt; this.gr_dato.DataBind(); } FuncionGlobal.comboTipoNominagastoByFamilia(this.dl_tiponomina, Convert.ToInt32(this.dl_familia.SelectedValue)); }