Aspose.Cells.GridDesktopを使用してExcelファイルのデータ検証を読み込む

Aspose.Cells.GridDesktopを使用してExcelファイル内のデータ検証を読み込む

次のサンプルコードは、GridDesktopに含まれるいくつかのデータ検証を含むサンプルExcelファイルをインポートします。

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// The path to the documents directory.
string dataDir = Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
// Import sample excel file in GridDesktop
gridDesktop1.ImportExcelFile(dataDir + "ValidationTesting.xlsx");

GridDesktopでのワークシートの削除