ワークシートからの行の削除
Contents
[
Hide
]
これは、開発者がワークシートから行を削除する基本的な方法を説明するもう 1 つの基本的なトピックです。これは、開発者が Aspose.Cells.GridDesktop を操作しながら使用できるシンプルで便利な機能です。
ワークシートから行を削除するには、次の手順に従ってください。
- 任意のアクセスワークシート
- 削除する行からワークシート削除する行のインデックスを指定して
以下のコード サンプルは、ワークシートから行を削除する方法を示しています。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
// Accessing first worksheet of the Grid | |
Worksheet sheet = gridDesktop1.Worksheets[0]; | |
// Removing the first row of the worksheet | |
sheet.RemoveRow(0); |