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
james james
NA
419
30k
C# Winform Get Top 10 repeated MS Access DataBase
Jul 21 2018 9:41 AM
I have a Winform with MS Access database and want to search for the Top 10 repeaters numbers in a column. The code below will return the first 10 rows. I need to check if a number is repeated in the column and count. I have searched everywhere can someone help?
I have also tried group and sort last code didnt work either.
string
queryString =
"SELECT SheetID, Part FROM ILC"
;
queryString =
"select top 10 Part,Part from ILC"
;
loadDataGrid(queryString);
I tried editing this but didnt work.
var q = from c
in
ILCdb
group c by c.Part into g
select
new
{ g.Key, Count = g.Count() };
var categoryCounts =
from p
in
ILCdb
group p by p.Part into g
select
new
{ Category = g.Key, ProductCount = g.Count() };
Reply
Answers (
1
)
i am create store procedure of notification but how
how to store data from arduino to web using asp.net