إزالة صف من ورقة العمل
Contents
[
Hide
]
هذا موضوع أساسي آخر للمطورين لشرح نهج أساسي لإزالة صف من ورقة العمل. إنها ميزة بسيطة وسهلة الاستخدام يمكن للمطورين استخدامها أثناء العمل مع 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); |