private void CargaGrilla() { if (this.chkVerMisPedidos.Checked) { gv.DataSource = PedidoController.GetAllCondetalleXUsuario(Convert.ToInt32(ViewState["idUserMesa"])); gv.DataBind(); } else { gv.DataSource = PedidoController.GetAllCondetallPporMesa(Convert.ToInt32(ViewState["numeroMesa"])); gv.DataBind(); } }