protected void ddlSexo_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
int idSexo = int.Parse(this.ddlSexo.Text);
Expression<Func<CatSexoEdithGarciaGil, bool>> predicateSexo = c => c.id == idSexo;
predicateSexo.Compile();
List<CatSexoEdithGarciaGil> lista = dcGlobal.GetTable<CatSexoEdithGarciaGil>().Where(predicateSexo).ToList();
CatSexoEdithGarciaGil catTemp = new CatSexoEdithGarciaGil();
this.ddlSexo.DataTextField = "strValor";
this.ddlSexo.DataValueField = "id";
this.ddlSexo.DataSource = lista;
this.ddlSexo.DataBind();
}
catch (Exception)
{
//this.showMessage("Ha ocurrido un error inesperado");
}
}