Exemplo n.º 1
0
        public void preencherPedidoDeRemocao()
        {
            DataTable dt = mer.verPedidoDeRemocao(num_ped);

            txtDescRem.Text = dt.Rows[0]["Msg_mer"].ToString();
            string status = dt.Rows[0]["Stat"].ToString();

            lbStatusPedido.Text    = "Status: " + status;
            lbStatusPedido.Visible = true;
            txtDescRem.ReadOnly    = true;
            BtnPedRem.Visible      = false;
            if (Equals(status, "Em análise") == false)
            {
                txtMsgAdm.Text    = dt.Rows[0]["Msg_adm"].ToString();
                txtMsgAdm.Visible = true;
            }
        }