AerolineaFrba.Abm_Ruta.Servicios.iniciar C# (CSharp) 메소드

iniciar() 개인적인 메소드

private iniciar ( ) : void
리턴 void
        private void iniciar()
        {
            lstServiciosActuales.Items.Clear();

            string queryselect = "SELECT SERV_DESC FROM [ABSTRACCIONX4].[SERVICIOS]";
            SqlCommand command = new SqlCommand(queryselect, Program.conexion());
            SqlDataAdapter a = new SqlDataAdapter(command);
            DataTable t = new DataTable();
            //Llenar el Dataset
            a.Fill(t);

            lstServiciosTotales.DisplayMember = "SERV_DESC";
            lstServiciosTotales.DataSource = t;
        }