BO Mapper DateTime C# Settings Issue


Author
Message
Jeff Pagley
Jeff Pagley
StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)StrataFrame User (465 reputation)
Group: StrataFrame Users
Posts: 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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Jeff Pagley - 14 Years Ago
Edhy Rijo - 14 Years Ago
Ivan George Borges - 14 Years Ago
Greg McGuffey - 14 Years Ago
Jeff Pagley - 14 Years Ago
                         Your are welcome Jeff!
Edhy Rijo - 14 Years Ago
                         That is great, Jeff. Hope it helps. ;)
Ivan George Borges - 14 Years Ago
                             Glad it helped Jeff! And I used the chart Ivan posted [b]a lot[/b]...
Greg McGuffey - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search