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
Shovan Saha
NA
321
92.6k
datagridview count for person and fruit
Sep 20 2018 1:22 PM
I want to know how many types of fruit for Rohim / Karim / Shovan? I can clarify like this:
private void Form1_Load(object sender, EventArgs e)
{
AddRowsInDatagridView("Rohim", "Apple");
AddRowsInDatagridView("Karim", "Banana");
AddRowsInDatagridView("Karim", "Guava");
AddRowsInDatagridView("Rohim", "Coconut");
AddRowsInDatagridView("Karim", "Banana");
AddRowsInDatagridView("Rohim", "Jackfruit");
AddRowsInDatagridView("Rohim", "Apple");
AddRowsInDatagridView("Rohim", "Apple");
AddRowsInDatagridView("Karim", "Guava");
AddRowsInDatagridView("Rohim", "Palm");
AddRowsInDatagridView("Shovan", "Date");
AddRowsInDatagridView("Karim", "Banana");
}
Now my question: How many types of fruit are for Rahim?
Expected Answer : 4
How many types of fruit are for Karim?
Expected Answer : 2
How many types of fruit are for Shovan?
Expected Answer : 1
Reply
Answers (
2
)
How rule override in one logging configuration using NLOG
How to crop an image around face with ImageResizer using Asp