al

al

  • NA
  • 1
  • 0

what should i be usiing? List<> or ArrayList.. something else?

Feb 22 2009 4:44 PM

 Hi,

I am trying to load data from a webservice into a public List<> which represents a data class, i need the data available to the page, but its not always displayed  .

I want to be able to query the List<> so i can edit values also, add, delete this data after the initial load, should i be using List or doing it another way for instance, ArrayList.

if list is correct, is there any good examples of how go about this, as i havent found any where i can query the list and edit values, hence i am wondering if I am doing this correctly

 public class dataBubs
    {
        public Guid         guid_id { get; set; }
        public string       bubName { get; set; }
        public string       bubDesc { get; set; }
        public int          plan_id { get; set; }
        public int          visability_id { get; set; }
        public string       docLink { get; set; }
        public string       colour { get; set; }
        public DateTime     saved_datetime { get; set; }
        public Guid         template_pran_id { get; set; }
        public int          role_id { get; set; }
        public string       pran_type { get; set; }

        public List<dataBubs> bubAll { get; set; }

    }

Answers (1)