Пример #1
0
    protected void TxtSearchCompo_TextChanged(object sender, EventArgs e)
    {
        _GetListComponentes _GetList = new _GetListComponentes(TxtSearchCompo.Text, DDLSelcTipoCompo.SelectedValue, true);

        GrdCompo.DataSource = _GetList.ListComponentes;
        GrdCompo.DataBind();
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //cargar los 30 default
         _GetListComponentes _GetList = new _GetListComponentes();
         FillingTable(_GetList.ListComponentes);
     }
 }
Пример #3
0
    protected void SearchBtn_Click(object sender, EventArgs e)
    {
        _GetListComponentes GetC = new _GetListComponentes(txtSearch.Text);

        FillingTable(GetC.ListComponentes);
    }