Haha, yeah good plan - just not too sure the execution is good!! I managed to put together the following;
I guess the major sticking point is that everything is output and written to a new line. Ideally, I want to be able to write to particular cells (so I can line data side by side in cells instead of on different lines) or perhaps construct the putput so it appears in the form of a table. If you have any suggestions, I would gladly welcome them.Code:Dim tw As New System.IO.StringWriter() Dim hw As New System.Web.UI.HtmlTextWriter(tw) hw.WriteLine("PURCHASE ORDER REFERENCE:") hw.WriteLine(purchaseorderref) 'PURCHASE ORDER REFERENCE hw.WriteLine("PURCHASE ORDER DATE:") hw.WriteLine("12/12/2009") '**************PUT PURCHASE ORDER DATE HERE hw.WriteLine("CONTACT NAME:") hw.WriteLine("Alan Thompson") 'CONTACT hw.WriteLine("") hw.WriteLine("") hw.WriteLine("REQUESTED DELIVERY DATE:") hw.WriteLine(Session("orderdeldate")) hw.WriteLine("PART SHIP ALLOWED:") hw.WriteLine("No") hw.WriteLine("") hw.WriteLine("") etc etc....
Thanks again.




Reply With Quote