0

when I try to write headers, it gives me that error message:

{"StartIndex cannot be less than zero.\r\nParameter name: startIndex"}

I discovered that it is about Turkish Character in the headers of tables. It runs when I don't use Turkish Ch. however.

Is there a way to solve it?

efirat
  • 3,679
  • 2
  • 39
  • 43

1 Answers1

1

you can try to force your culture

// Changes the CurrentUICulture of the current thread to en-US for example. 
Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-US", false );
Aghilas Yakoub
  • 28,516
  • 5
  • 46
  • 51