Exemplo n.º 1
0
        private void btnGetIncidentsByTechnician_Click(object sender, EventArgs e)
        {
            IncidentBLL incidentBLL = new IncidentBLL();
            int         technicianID;

            technicianID = int.Parse(txtTechnicianID.Text);
            dgvIncidentsByTechnician.DataSource = incidentBLL.GetIncidentsByTechnician(technicianID);
            //dgvIncidentsByTechnician.Columns["TechID"].Visible = false;
        }
Exemplo n.º 2
0
        private void btnGetIncidents_Click(object sender, EventArgs e)
        {
            IncidentBLL incBLL = new IncidentBLL();

            dgvIncidentsByTechnician.DataSource = incBLL.GetIncidentsByTechnician(int.Parse(txtTechnician.Text));
        }