예제 #1
0
    //RowCommand da Grid Emp
    protected void grvEmp_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName == "Visualizar")
        {
            Mod_modelos mod = Mod_modelosDB.Select(Convert.ToInt32(e.CommandArgument));
            lblDescricao.Text = Function.QuebrarLinha(mod.DescricaoModelo, 70);
            ModalPopupExtenderDesc.Show();
            ModalEdFin.Show();
        }

        ModalEmp.Show();
    }
예제 #2
0
 protected void btnBuscarEmp_Click(object sender, EventArgs e)
 {
     buscarModelo(txtBuscaEmp, grvEmp, lblTotalEmp, 3);
     ModalEmp.Show();
 }
예제 #3
0
 //emp pagia
 protected void grvEmp_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     grvEdFin.PageIndex = e.NewPageIndex;
     CarregaGridEmp();
     ModalEmp.Show();
 }