Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (var writer = new StreamWriter(filePath, false))
- {
- foreach (Product product in pm.GetAll())
- {
- fp = pm.MakeFinal(product);
- curLine.Append(fp.InventoryNumber + "t");
- curLine.Append(fp.SellerCost + "t");
- curLine.Append(fp.RetailPrice + "t");
- curLine.Append(fp.StartingBid + "t");
- curLine.Append(fp.BINPrice + "t");
- curLine.Append(fp.CAPrice + "t");
- curLine.Append(fp.Weight + "t");
- curLine.Append(fp.Length + "t");
- curLine.Append(fp.Width + "t");
- curLine.Append(fp.Height + "t");
- curLine.Append(fp.Brand + "t");
- curLine.Append(fp.Manufacturer + "t");
- curLine.Append(fp.MPN + "t");
- curLine.Append(fp.Quantity);
- writer.WriteLine(curLine.ToString());
- }
- }
- <security>
- <requestFiltering>
- <requestLimits maxAllowedContentLength="2000000000" />
- </requestFiltering>
- </security>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement