dbTalk Databases Forums  

Adomd.net and data types

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Adomd.net and data types in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
annu
 
Posts: n/a

Default Adomd.net and data types - 10-07-2005 , 01:36 AM






Hi there
I am executing an mdx query using adomd.net as follows:
AdomdDataAdapter adapter = new AdomdDataAdapter(query, connection.Value);
adapter.Fill(data);

I get the data back correctly, but all the columns have DataType of
'System.Object ' and not as expected.

Why is this happening?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.