You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pls remove throw new ArgumentException("Tablename has spaces") at ExcelTableCollection.ValidateTableName,xlsx is allowed worksheet name Contains empty
#558
Open
1257960069 opened this issue
Apr 26, 2024
· 0 comments
public class ExcelTableCollection : IEnumerable<ExcelTable>, IEnumerable
private void ValidateTableName(string Name)
{
if (string.IsNullOrEmpty(Name))
{
throw new ArgumentException("Tablename is null or empty");
}
char c = Name[0];
if (!char.IsLetter(c) && c != '_' && c != '\\')
{
throw new ArgumentException("Tablename start with invalid character");
}
if (Name.Contains(" "))
{
throw new ArgumentException("Tablename has spaces");
}
}
Actual behaviour
Tell us what happens instead. Provide a log message if relevant.
xlsx is allow worksheet name Contains empty
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
Remove this hint: Pick one of these - use the Preview feature of this editor to get a sense which option we like best
Awesome ⭐⭐⭐⭐⭐
Provide a (link to a) minimal demo app showing the faulty behaviour.
Sweet ⭐⭐⭐⭐
Provide a concise code sample which can upload attachments.
Good ⭐⭐⭐
Provide your own app and instructions how to reproduce the issue.
Meh ⭐⭐
Provide a code sample with a bunch of magic parameters which I need to interpolate by guessing to reconstruct the actual runtime code.
Worst 💩
Say the source code can't be disclosed and refuse to provide any of the above. Expect this issue to be closed by a bunch of angry aliens 👽👽👽👽👽 that will hunt you down and 🔥 your 💻. You've been warned. 🚒
The text was updated successfully, but these errors were encountered:
Expected behaviour
Tell us what should happen.
Actual behaviour
Tell us what happens instead. Provide a log message if relevant.
xlsx is allow worksheet name Contains empty
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
package versions
Example: Magicodes.IE.Excel 2.2.2, Magicodes.IE.Pdf 1.0
So how can we reproduce this?
Remove this hint: Pick one of these - use the Preview feature of this editor to get a sense which option we like best
Awesome ⭐⭐⭐⭐⭐
Provide a (link to a) minimal demo app showing the faulty behaviour.
Sweet ⭐⭐⭐⭐
Provide a concise code sample which can upload attachments.
Good ⭐⭐⭐
Provide your own app and instructions how to reproduce the issue.
Meh ⭐⭐
Provide a code sample with a bunch of magic parameters which I need to interpolate by guessing to reconstruct the actual runtime code.
Worst 💩
Say the source code can't be disclosed and refuse to provide any of the above. Expect this issue to be closed by a bunch of angry aliens 👽👽👽👽👽 that will hunt you down and 🔥 your 💻. You've been warned. 🚒
The text was updated successfully, but these errors were encountered: