View.Frm_ImprimirOS.CarregarListaDeIds C# (CSharp) Method

CarregarListaDeIds() private method

private CarregarListaDeIds ( ) : void
return void
        private void CarregarListaDeIds()
        {
            Txt_Ids.Items.Clear();

            DataTable tabela = new DataTable("InformacoesIDs");
            tabela = ControllerOrdemServico.CarregarListaDeIds();

            foreach (DataRow r in tabela.Rows)
            {
                foreach (DataColumn c in tabela.Columns)
                {
                    Txt_Ids.Items.Add(r[c].ToString());
                }
            }
        }