Found it!
On this page there's nice source code called TableLibrary which does
exactly what I need. Feed in DataGridView and get out HTML table. Nice!
This is the main page:
http://www.windowsforms.net/Default....dex=4&tabid=49
This is the specific link:
HTML Table Generation Library -
http://www.windowsforms.net/Samples/...190&tabindex=4
XOR wrote:
> it is rendered as a html table so you could do something like
>
> stringReader reader = new StringReader();
> gridView1.RenderControl(reader);
>
> string html = reader.tostring();
>
> or something like that. look into the renderControl method