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
Ashley Jackson
NA
73
0
#if and Compiler switches
Jun 18 2007 9:03 AM
I'm trying to get my project to evaluate a compiler switch (/define:ORACLE) using a #if.
The syntax I'm using is:
#if ORACLE
using DAL=mydll.Oracle;
#else
using DAL=mydll.SqlServer;
#endif
The problem is that this always drops into the SQL server leg, anf ideas on how to get it to use the Oracle leg??
Using Visual Studio 2005 & C#
Thanks Ash...
Reply
Answers (
3
)
WINDOWS service problem
Need help in File Handling using C#