J
j-in-uk
Hi,
I want to add index and total to the arrayList, any ideas how i should
do that? I think i have to declare a 2 dimensional arraylist
I want to also be able to find using contains in a two dimensional
array
ArrayList IDList = new ArrayList[];
foreach (GridViewRow row in gvAttachmts.Rows )
{
index = (int)gvAttachmts.DataKeys[row.RowIndex].Value;
double Total = Convert.ToDouble(row1.Cells[8].Text);
if (Session
!= null)
IDList = (ArrayList)Session
;
if (result)
{
if (!IDList.Contains(index))
IDList.Add(index);
}
else
IDList.Remove(index);
}
I want to add index and total to the arrayList, any ideas how i should
do that? I think i have to declare a 2 dimensional arraylist
I want to also be able to find using contains in a two dimensional
array
ArrayList IDList = new ArrayList[];
foreach (GridViewRow row in gvAttachmts.Rows )
{
index = (int)gvAttachmts.DataKeys[row.RowIndex].Value;
double Total = Convert.ToDouble(row1.Cells[8].Text);
if (Session
IDList = (ArrayList)Session
if (result)
{
if (!IDList.Contains(index))
IDList.Add(index);
}
else
IDList.Remove(index);
}