protected void Page_Load(object sender, EventArgs e) { DataSet ds; ds = EstadosBLL.GetEstados(); grdEstados.DataSource = ds; grdEstados.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.bllOperacionDeInmuebles = new OperacionesBLL(); this.bllEstadosDeInmuebles = new EstadosBLL(); this.bllTiposDeInmuebles = new TiposBLL(); this.ddlProvincias.SelectedValue = "20"; } }