Re: Can i Box values in arrays

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Console.WriteLine(records[1]);
values is Recordset. Its not filling the array.

RecordSet Track1 = new RecordSet("Its raining",1);
RecordSet Track2 = new RecordSet("Amazing in the wild",2);
RecordSet Track3 = new RecordSet("Amazing in the milg",3);
RecordSet Track4 = new RecordSet("Amazing in the Sour",4);
RecordSet Track5 = new RecordSet("Amazing in the Hot",5);

Data d = new Data();
d.RecordAdd(Track1);
d.RecordAdd(Track2);
d.RecordAdd(Track3);
d.RecordAdd(Track4);
d.RecordAdd(Track5);

RecordSet[] records = new RecordSet[5];
records[0] = Track1;
records[1] = Track1;

d.GetRec2(records);

Console.WriteLine(records[1]);

.



Relevant Pages

  • Re: Arrays in Access.
    ... > through an array is MUCH faster than looping through a recordset. ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: Querying 2 or more databases with ASP
    ... recordset to a vbscript array. ... Prev by Date: ...
    (microsoft.public.inetserver.iis.activeserverpages)
  • Re: if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.
    ... first you asked for filling all elements in an array starting from a given index. ... Now you ask to fill the array up to that index: ... you just have one index more to keep an eye on...) ... Prev by Date: ...
    (comp.lang.labview)
  • Re: filling a matrix from an array
    ... > Anyone got any simple solutions to filling say a 8x2 matrix from a ... you can always assign the elements of one array into ... another regardless of array shape as long as the number of elements ... Prev by Date: ...
    (comp.soft-sys.matlab)
  • Re: Filling a dropdown box:
    ... consider using GetRows to retrieve your recordset into an array - far more ... I am currently filling a dropdown box by using the cboBox.Additem ... I am adding items that are in an ADO recordset I returned, ...
    (microsoft.public.vb.general.discussion)