| 
	Group: StrataFrame UsersPosts: 223, 
    Visits: 893
 
 | 
                    
			            I have been using Strataframe/VB.NET for some time now.  But I have been ask to develop an C#/ASP.NET Web app.  So I am new to all that.  I am trying to setup my field settings in the BO Mapper where I am assigning for my date fields the value of #1/1/1800# for Return Alternate on Null / Set Null on .... option.  C# code generated shows the compiler error 'Preprocesor directives must appear as the first non-whitespace character on a line.' for the following code:
 if (value != #1/1/1800#)
 
 What is wrong?  Also, in addition to this, is there anything else I need to be aware of when using C# vs VB.NET is setting up the BO Mapper stuff?
 
 Thanks,
 
 Jeff
 
 |