Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. int m = 0;
  2. while(m < soitemfinalprice.Length)
  3. {
  4. Double soamt = 0;
  5. foreach (var soitem in so)
  6. {
  7. foreach (var soitemprice in soitem.SODetails)
  8. {
  9. soamt = soamt + soitemprice.SO_Item_Final_Price;
  10. }
  11. soitemfinalprice[m] = soamt;
  12. m++;
  13. }
  14. }
  15.  
  16. soitemfinalprice[1] = 300, soitemfinalprice[2] = 100, soitemfinalprice[3] = 350.
  17.  
  18. soitemfinalprice[1] = 750, soitemfinalprice[2] = 750, soitemfinalprice[3] = 750.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement