Exporting DB content to a WORD table

1

Well, I was doing a job and I came across this situation: I need to export certain content to Word, but this content should be in a table of it. How could I do a While to automatically create Rows and Columns within C# itself?

For now my Select is like this

  "SELECT ID_PRODUTO AS 'ID', NOME AS 'NOME', QTD AS 'QUANTIDADE',
   VLR_UNIT AS 'VALOR UNITÁRIO' 
   FROM ESTOQUE"

It returns me data that would result in 8 Rows of 4 Columns each.

    
asked by anonymous 05.10.2018 / 01:42

0 answers