If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
GetOleDbSchemaTable(OleDbSchemaGuid.Columns,...
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/libr...52(VS.85).aspx and http://msdn.microsoft.com/en-us/libr...04(VS.85).aspx mfG -- stefan -- |
#12
|
|||
|
|||
GetOleDbSchemaTable(OleDbSchemaGuid.Columns,...
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/Sea...SNULLABLE&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 -- |
|
Thread Tools | |
Display Modes | |
|
|