Thanks. I've rearranged the code and it now returns data. This is an arraylist made up of several arraylists.
How could I organize the data to return in this manner:
A1x
B2x
C3x
and so on.
Code:
ArrayList data;
ArrayList Data = new ArrayList();
DatabaseAccessLayer DAL = new DatabaseAccessLayer();
data = DAL.getData();
for(int i=0; i<data.Count;
I am trying to return a two-dimensional array with data but am having some problems retreving the data. Can someone guide me what I should change in this code?
Thanks
Code:
public ArrayList getData()
{
ArrayList data = new ArrayList();
ArrayList myList1 = new ArrayList();
ArrayList myList2 = new ArrayList();
int i;
for(i=0; i<5; i++)
{
i++;
I'm new to c# programming. Can someone help me identify how to make the line in bold an instance of an object? I can't tell if oClxX or strNewstCust need to be made an instance. Thanks.
Leave a comment: