populate control from the database example