Example #1
0
        protected void sbconsultar()
        {
            try
            {
                msnMessage.Visible = false;

                Session[_nameSessionData] = Facturacion._Consulta_Lider_N(Convert.ToDateTime(txtDateStart.Text), Convert.ToDateTime(txtDateEnd.Text));

                gvReturns.DataSource = (DataTable)Session[_nameSessionData];

                gvReturns.DataBind();
            }
            catch (Exception ex)
            {
                msnMessage.Visible = true;
                msnMessage.LoadMessage(ex.Message, UserControl.ucMessage.MessageType.Error);
            }
        }