What you are probably going to have to do is use an HTMLWriter / Table to format the information the way you want.
Your psuedo-code is something like:
//declare table object to be exported to word
//retrieve datasource
//for each row in datasource
//create new TableRow
//create new TableCell
//append data to TableCell
//add TableCell to TableRow
//add TableRow to Table
//loop
then to ultimately write the code to the browser you would do something like this:
System.IO.StringWriter sw = new System.IO.StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename=test.doc");
Response.ContentType = "application/vnd.word";
tbl.RenderControl(hw); //this is your Table object
Response.Write(sw.ToString());
Response.End();
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========