Load and delete sheet from dbenfachALL.xlsx(https://www.devexpress.com/Support/Center/Question/Details/Q571743),System.ArgumentOutOfRangeException throws.
===================================================================================================using System;using System.IO;using Infragistics.Documents.Excel;
namespace ConApp{ class Program { static void Main(string[] args) { Stream stream = File.Open("dbenfachALL.xlsx", FileMode.OpenOrCreate); Workbook wb = Workbook.Load(stream); if (wb == null) { return; }
var count = wb.Worksheets.Count; for (int i = count - 1; i > 0; i--) { wb.Worksheets.RemoveAt(i); } } }}
Hello Linden,
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account \Keys & Downloads.
https://ko.infragistics.com/my-account/keys-and-downloads/
I have logged this with development under ID: 184988 and I have also created a support ticket on your behalf: CAS-146851-L5W5Y9 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx