Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -9941,11 +9941,11 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
var libro = wb.AddWorksheet("Layout");
|
||||
int row = 1;
|
||||
int column = 1;
|
||||
libro.Cell(row, column++).Value = "Codigo";
|
||||
libro.Cell(row, column++).Value = "Código";
|
||||
libro.Cell(row, column++).Value = "Nombre";
|
||||
libro.Cell(row, column++).Value = "Banco";
|
||||
libro.Cell(row, column++).Value = "Cuenta";
|
||||
libro.Cell(row, column++).Value = "Clabe";
|
||||
libro.Cell(row, column++).Value = "CLABE";
|
||||
libro.Cell(row, column++).Value = "Neto";
|
||||
int maxxolumn = column;
|
||||
libro.Range(1, 1, row, column - 1).Style.Font.FontColor = ClosedXML.Excel.XLColor.White;
|
||||
@@ -9984,7 +9984,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
Response.Buffer = true;
|
||||
|
||||
Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
||||
Response.AddHeader("content-disposition", string.Format("attachment;filename={0}.xlsx", "Layout"));
|
||||
Response.AddHeader("content-disposition", string.Format("attachment;filename={0}.xlsx", "ListadePago"));
|
||||
Response.BinaryWrite(memoryStream.ToArray());
|
||||
Response.End();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user