Created
June 28, 2012 15:02
-
-
Save ksummerlin/3011865 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void FillOtherOrdersSection() { | |
GetOtherOrders(); //Calls stored procedure to fill _otherOrders | |
foreach (var otherOrder in _otherOrders) { | |
if (string.IsNullOrEmpty(otherOrder.Status)) { | |
status = ""; | |
} else { | |
status = " - " + otherOrder.Status; | |
} | |
MakeOrderLink(otherOrder); | |
} | |
if (_otherOrders.Count == 0) { | |
ShowNoOtherOrdersLink(); | |
} | |
else if (_otherOrders.Count = 3) { | |
ShowViewAllOrdersLink(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment