blankworksheet.cs
来自「.net 对excel得完全操作源码(老外代码)」· CS 代码 · 共 21 行
CS
21 行
using System;
using org.in2bits.MyXls;
namespace MyXls.Examles.CS
{
/// <summary>
/// Create and send a blank Workbook. This is the simplest possible use of
/// MyXls. By default, if you haven't added any Worksheets to the Workbook
/// when you call Send on the XlsDocument, one is added and named "Sheet1".
/// </summary>
public class BlankWorksheet
{
public void Run()
{
XlsDocument xls = new XlsDocument(); //Create a new XlsDocument
xls.Send(); //Send it to the client
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?