TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ousainou ceesay
NA
29
3.3k
Query the sum of row values in sqlite on with Xamarin
Aug 12 2019 9:38 AM
Hello guys. Am trying to the sum of row values of sqlite database. My sqlite table has a row called Amount. So what I want is to sum all the Amount values on the table. This is my code :
public async Task SumItemAsync()
{
var data = await db.ExecuteScalarAsync("SELECT SUM(Amount) FROM Spent");
return data;
}
but it.s giving me an error saying "
the type arguments for method sqliteAsyncConnection.ExecuteScalarAsync(string, param object[]) cannot be infered from the usage. Try specifying the type argument explicitly
" . Any help.
Reply
Answers (
1
)
ElasticSearch pls Helppppp!!!!
recover a NameNode when it is down(Big Data)