Skip to content

Commit

Permalink
Added the gitkeep file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurmitha4004 committed Aug 20, 2024
1 parent ad1ff72 commit b1d6904
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="*" />
</ItemGroup>

<ItemGroup>
<None Update="Data\AdventureCycles-Logo.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,11 @@ static void Main(string[] args)
worksheet.Range["A15:A23"].RowHeight = 18;

//Saving the Excel to the Stream
FileStream stream = new FileStream("CreateExcel.xlsx", FileMode.Create, FileAccess.Write);
workbook.SaveAs(stream);

System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo = new System.Diagnostics.ProcessStartInfo("CreateExcel.xlsx")
using (FileStream stream = new FileStream("../../../Output/Output.xlsx", FileMode.Create, FileAccess.Write))
{
UseShellExecute = true
};
process.Start();
workbook.SaveAs(stream);
}
}
}
}
Expand Down

0 comments on commit b1d6904

Please sign in to comment.