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
Steve Higham
NA
10
2.2k
Compilation error message?
Aug 27 2014 4:34 PM
Hello
In my Register.aspx.cs (a Web form for new users), I am getting the following error:
Compiler Error Message:
CS1518: Expected class, delegate, enum, interface, or struct
The error refers to this line:
public static string GetConnString()
In particular Visual Studio does not like 'string' in the above line which it has underlined in red.
How can I correct that, please?
Many thanks.
Reply
Answers (
6
)
Real life senario of using Interface and abstract class
date and dropdown link up