How to return my OrderID from ArrayList
I have this ArrayList called Legs and I assign it to the stopID of my comboBox.Selected Value and then I assign all the data to it like so
((Tracking.BusinessObjects.StopOrderLegDetail)this._Order.Legs[0]).StopID = (int)this.cboStartingPoint.SelectedValue; |
binding to the data....
this.label.Text = ((Tracking.BusinessObjects.StopOrderLegDetail)this._Order.Legs[0]).DetailStop.Name; this.label.Text = ((Tracking.BusinessObjects.StopOrderLegDetail)this._Order.Legs[0]).DetailStop.Address; |
So i know my Legs[0] (arrayList) is full of data....I need to return it by using a loop like this but i dont know what to put in it? here is the loop can someone help me
for (int tempCounter = _StartingVendorLegs.Index -1; tempCounter >= 0; tempCounter--){ } |

