Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. using (var writer = new StreamWriter(filePath, false))
  2. {
  3. foreach (Product product in pm.GetAll())
  4. {
  5. fp = pm.MakeFinal(product);
  6.  
  7. curLine.Append(fp.InventoryNumber + "t");
  8. curLine.Append(fp.SellerCost + "t");
  9. curLine.Append(fp.RetailPrice + "t");
  10. curLine.Append(fp.StartingBid + "t");
  11. curLine.Append(fp.BINPrice + "t");
  12. curLine.Append(fp.CAPrice + "t");
  13. curLine.Append(fp.Weight + "t");
  14. curLine.Append(fp.Length + "t");
  15. curLine.Append(fp.Width + "t");
  16. curLine.Append(fp.Height + "t");
  17. curLine.Append(fp.Brand + "t");
  18. curLine.Append(fp.Manufacturer + "t");
  19. curLine.Append(fp.MPN + "t");
  20. curLine.Append(fp.Quantity);
  21.  
  22. writer.WriteLine(curLine.ToString());
  23. }
  24. }
  25.  
  26. <security>
  27. <requestFiltering>
  28. <requestLimits maxAllowedContentLength="2000000000" />
  29. </requestFiltering>
  30. </security>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement