Prev: Multiple Entries
Next: Depacco
From: Markus Ohlenroth on 23 Jan 2009 09:24 thanks Stefan, Yes, your links are what I needed. In the refrence it says: DBCOLUMNFLAGS Enumerated Type Now I want do bitwise querying with the constants mentioned in the msdn reference (Icolumnsinfo:getcolumninfo). like eg. with DBCOLUMNFLAGS_CACHEDEFERRED or DBCOLUMNFLAGS_ISFIXEDLENGTH But I do not know how I can access these constants in my c# vs .net program? through what class, library, namespace are these constants qualified? Can you give me a hint? thanks wfg Markus "Stefan Hoffmann" wrote: > hi Markus, > > Markus Ohlenroth wrote: > > I work with visual studio, C# and read out metadata from access databases > > via oledb > Now, your source gives me the clues I was missing, take a look at these: > > http://msdn.microsoft.com/en-us/library/ms723052(VS.85).aspx > > and > > http://msdn.microsoft.com/en-us/library/ms722704(VS.85).aspx > > > mfG > --> stefan <-- >
From: Stefan Hoffmann on 23 Jan 2009 10:25
hi Markus, Markus Ohlenroth wrote: > But I do not know how I can access these constants in my c# vs .net program? > through what class, library, namespace are these constants qualified? http://social.msdn.microsoft.com/Search/en-US/?query=DBCOLUMNFLAGS_ISNULLABLE&ac=8 http://msdn.microsoft.com/en-us/library/ms716934.aspx typedef DWORD DBCOLUMNFLAGS; enum DBCOLUMNFLAGSENUM { DBCOLUMNFLAGS_ISBOOKMARK, DBCOLUMNFLAGS_MAYDEFER, DBCOLUMNFLAGS_WRITE, DBCOLUMNFLAGS_WRITEUNKNOWN, DBCOLUMNFLAGS_ISFIXEDLENGTH, DBCOLUMNFLAGS_ISNULLABLE, DBCOLUMNFLAGS_MAYBENULL, DBCOLUMNFLAGS_ISLONG, DBCOLUMNFLAGS_ISROWID, DBCOLUMNFLAGS_ISROWVER, DBCOLUMNFLAGS_CACHEDEFERRED, DBCOLUMNFLAGS_SCALEISNEGATIVE, DBCOLUMNFLAGS_RESERVED, DBCOLUMNFLAGS_ISROWURL, DBCOLUMNFLAGS_ISDEFAULTSTREAM, DBCOLUMNFLAGS_ISCOLLECTION, DBCOLUMNFLAGS_ISSTREAM, DBCOLUMNFLAGS_ISROWSET, DBCOLUMNFLAGS_ISROW, DBCOLUMNFLAGS_ROWSPECIFICCOLUMN }; I'm not sure, it's C/C++, but this should translate to the 2^order for the bit values. But you better ask in a more C/C++ specific newsgroup. > Can you give me a hint? hmm, I can, show more patience will searching in the MSDN .) mfG --> stefan <-- |