The following example shows you how to build a formatted Word table from a data collection - a very common reporting task when exporting database results, a grid or a list of objects. The first row is a styled header (bold text with a shaded background) and the remaining rows are filled from the data.