Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Error: Can not implicitly convert type System.Threading.Tasks.Task to long

20.08.2018 (👁136)

Error: Can not implicitly convert type 'System.Threading.Tasks.Task <long>' to 'long'

 

 

Not correct:

long ID = clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);

 

Solved:

long ID = await clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);