protected void Reload() { TextDescricao.MaxLength = 30; _ler = new LerSelect(); var Dt = _ler.LerPainel(); if (Dt != null) { GridPainel.DataSource = Dt.ValDataTable; GridPainel.DataBind(); } _ler = new LerSelect(); var DtLoja = _ler.LerDropLojaCad(); if (DtLoja != null && DropFornecedor.Items.Count.ToString() == "0") { DropFornecedor.DataTextField = "Loja Des"; DropFornecedor.DataValueField = "Loja Val"; DropFornecedor.DataSource = DtLoja.ValDataTable; DropFornecedor.DataBind(); DropFornecedor.AppendDataBoundItems = true; } this.TextDataInicio.Attributes.Add("autocomplete", "off"); this.TextDataFim.Attributes.Add("autocomplete", "off"); }