This question is locked. New answers and comments are not allowed.
Hi,
Am exporting four gridviews onto the same excel sheet as follows,
So doing so i am getting the exported gridviews one below the other(vertically) in the excel sheet.I would like to have the first 3 grids horizontally next to each other,and the final one below all the three. Is it possible? If so, Can you kindly help me in doing so?
Am exporting four gridviews onto the same excel sheet as follows,
if
(dialog.ShowDialog() ==
true
)
{
using
(Stream stream = dialog.OpenFile())
{
Rgv1.Export(stream,
new
GridViewExportOptions() { Format = ExportFormat.Html });
Rgv2.Export(stream,
new
GridViewExportOptions() { Format = ExportFormat.Html });
Rgv3.Export(stream,
new
GridViewExportOptions() { Format = ExportFormat.Html });
Rgv5.Export(stream,
new
GridViewExportOptions() { Format = ExportFormat.Html, ShowColumnHeaders =
true
, Encoding = Encoding.UTF8 });
}
}