Click here to Skip to main content
15,909,747 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: delete dataGridView row Pin
Andreoli Carlo25-Aug-10 20:48
professionalAndreoli Carlo25-Aug-10 20:48 
GeneralRe: delete dataGridView row Pin
jashimu26-Aug-10 3:24
jashimu26-Aug-10 3:24 
AnswerRe: delete dataGridView row Pin
Luc Pattyn26-Aug-10 4:27
sitebuilderLuc Pattyn26-Aug-10 4:27 
QuestionProblem with accessing MS Access Date field with C++/CLI Pin
Dirkus Maximus22-Aug-10 20:37
Dirkus Maximus22-Aug-10 20:37 
AnswerRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn23-Aug-10 1:41
sitebuilderLuc Pattyn23-Aug-10 1:41 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Dirkus Maximus23-Aug-10 16:28
Dirkus Maximus23-Aug-10 16:28 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn23-Aug-10 16:56
sitebuilderLuc Pattyn23-Aug-10 16:56 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Dirkus Maximus23-Aug-10 20:09
Dirkus Maximus23-Aug-10 20:09 
Thanks again Luc, that is good information. But I understand that, in the end, you can only query a database using a text string. I can narrow my problem down to the following:

I do a query
"SELECT someDate FROM myTable WHERE someField = 34"

and I get a return from the DB
I confirm, using a GetType(), that it is of type DateTime
I do a 'ToString()' and that returns
06/07/2010 12:00:00 AM

Now I query the Database with
"SELECT * FROM MyTable WHERE someDate = #06/07/2010 12:00:00 AM#"

It doesn't return anything.
While if do another query with a 2-digit day field, such as #16/07/2010 12:00:00 AM#, it works.

*** Update ***
The following work-around worked:
"SELECT someDate  FROM myTable  WHERE (someDate >= #6/07/2010#) AND (someDate <= #7/07/2010#)"

Any suggestions why this works and the previous one didn't?

modified on Tuesday, August 24, 2010 3:56 AM

AnswerRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn24-Aug-10 0:45
sitebuilderLuc Pattyn24-Aug-10 0:45 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Dirkus Maximus24-Aug-10 15:43
Dirkus Maximus24-Aug-10 15:43 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn24-Aug-10 16:31
sitebuilderLuc Pattyn24-Aug-10 16:31 
AnswerRe: Problem with accessing MS Access Date field with C++/CLI Pin
Luc Pattyn24-Aug-10 17:03
sitebuilderLuc Pattyn24-Aug-10 17:03 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI Pin
Dirkus Maximus25-Aug-10 15:52
Dirkus Maximus25-Aug-10 15:52 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Luc Pattyn25-Aug-10 16:25
sitebuilderLuc Pattyn25-Aug-10 16:25 
GeneralRe: Problem with accessing MS Access Date field with C++/CLI [modified] Pin
Dirkus Maximus26-Aug-10 14:16
Dirkus Maximus26-Aug-10 14:16 
QuestionUse of managed variables in non-ref class Pin
KlaasVersteeg20-Aug-10 2:27
KlaasVersteeg20-Aug-10 2:27 
AnswerRe: Use of managed variables in non-ref class Pin
Nish Nishant20-Aug-10 6:29
sitebuilderNish Nishant20-Aug-10 6:29 
AnswerRe: Use of managed variables in non-ref class Pin
slawomir_orlowski29-Aug-10 21:15
slawomir_orlowski29-Aug-10 21:15 
GeneralRe: Use of managed variables in non-ref class Pin
KlaasVersteeg29-Aug-10 21:21
KlaasVersteeg29-Aug-10 21:21 
QuestionHelp with Angle Rotations pls.. Pin
lgmanuel19-Aug-10 20:42
lgmanuel19-Aug-10 20:42 
AnswerRe: Help with Angle Rotations pls.. Pin
Luc Pattyn20-Aug-10 2:00
sitebuilderLuc Pattyn20-Aug-10 2:00 
QuestionHow to create a .resx file in windows forms application (VS2005) Pin
roshihans10-Aug-10 10:17
roshihans10-Aug-10 10:17 
QuestionGenerating Runtime code(structs,classes) in C++/CLI Pin
glitteringsound6-Aug-10 5:03
glitteringsound6-Aug-10 5:03 
AnswerRe: Generating Runtime code(structs,classes) in C++/CLI Pin
N a v a n e e t h6-Aug-10 8:03
N a v a n e e t h6-Aug-10 8:03 
Questionnew line on Edit Control... Pin
lgmanuel1-Aug-10 14:35
lgmanuel1-Aug-10 14:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.