Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 casting datatype in linq

Author  Topic 

RajuSamuel
Starting Member

2 Posts

Posted - 2009-01-06 : 06:47:52
I have just started with Linq.
Got stuck when the result i got is IQueryable<decimal?>
but i want to return as decimal

Please help me..

Thanx
Raju

bklr
Master Smack Fu Yak Hacker

1693 Posts

Posted - 2009-01-06 : 06:50:30
check this http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=117249
Go to Top of Page

RajuSamuel
Starting Member

2 Posts

Posted - 2009-01-06 : 07:10:05
Cannot implicitly convert type 'System.Linq.IQueryable<decimal?>' to 'decimal'
This is the error which i get...

Urgent please help..
Thanx
Go to Top of Page

ashishashish
Constraint Violating Yak Guru

408 Posts

Posted - 2009-01-06 : 07:12:12
Its Duplicate query with another account go there


http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=117249

And Avoid to post duplicate query regularly..
Thanks,,,
Go to Top of Page
   

- Advertisement -