TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
richard smith
1.4k
285
160.8k
C# Errors.....Need Help!!
Feb 13 2013 9:28 AM
This is where the error is...(if you need to see more code let me know)
if (employeeID == "134")
{
oXL.Sheets[new string[2] { "134", "134_ManagerComments" }].Copy();
and the compiler is highlighting the [new string[2]] and telling me on new:
Identifier expected; 'new'is a keyword and on string
Expected class, delegate, enum, interface, or struct
How should this be ammended in order to remove these errors?
Reply
Answers (
5
)
how display the selected month date in datagridview usingc#
Sample user login form