Part 18 GroupBy in LINQ

  Рет қаралды 119,201

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 35
@rahulsrivastava4228
@rahulsrivastava4228 10 жыл бұрын
Venkat sir , how do u come to know our requirement ...the level you use in your teaching is amazing because it gets easy to understand each module of the concept..the presentation and voice quality is awesome there is nothing stopping you to get award from Microsoft ...this is our core desire ...can we expect tute on sharepoint in future .
@saurabhchauhan232
@saurabhchauhan232 10 жыл бұрын
Bharat Ratna :)
@jkmalify
@jkmalify 5 жыл бұрын
@@saurabhchauhan232 padma sri
@enricorm75
@enricorm75 10 жыл бұрын
All videos of all your playlist are great! Thank you.
@kamdemkakengne
@kamdemkakengne 7 жыл бұрын
Hi Venkat! You make me better programmer with your tutorials
@Eandia
@Eandia 5 жыл бұрын
You're very knowledgeable. Thanks for the video, I needed this!
@yashobantadash6670
@yashobantadash6670 2 жыл бұрын
great videos as always!
@martinn.6082
@martinn.6082 3 жыл бұрын
Loved the explanation, thanks!
@ialimijororakotoniaina3274
@ialimijororakotoniaina3274 9 жыл бұрын
your tutorials are amazing dude
@sikeeeee
@sikeeeee 8 жыл бұрын
Simple and easy to understand. Keep up the good work.
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 8 жыл бұрын
Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you kzbin.infoplaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. kzbin.info/www/bejne/r2ibYYCtnb5qZtU If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. kzbin.info If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Good Luck Venkat
@sikeeeee
@sikeeeee 8 жыл бұрын
Thank you for the links and yes i will share them during suitable situations. If by any chance would you be able to do Asp.net Identity Role Based Authorisation (Not Authentication) tutorials? I see the strong need for that tutorial in the web. As there arent much tutorials.
@khaledsaleh286
@khaledsaleh286 8 жыл бұрын
Hi Kudvenkat, I think there is no difference between GroupBy and ToLookup extension method , I could get the department and the employees who are working for that department by using the following Code : var result = Employee.GetAllEmployees().ToLookup(c => c.Department); And then we need to iterate through the result to get them but the same result with group by the department so, what do u think? Is there any difference?
@flikcof7910
@flikcof7910 5 жыл бұрын
Good stuff. Well done
@ahmettachmuradov8630
@ahmettachmuradov8630 3 жыл бұрын
the best teacher
@solvedplus858
@solvedplus858 2 жыл бұрын
very good tutorial many thanks for it
@EricTViking
@EricTViking 7 жыл бұрын
Great video - thanks for sharing.
@zo62
@zo62 9 жыл бұрын
How do you do the non sql version of that last linq statement
@emanshedid3469
@emanshedid3469 9 жыл бұрын
+zo62 var result2 = db2.Employees.GroupBy(x => x.Department.Name).OrderBy(f => f.Key); foreach (var group in result2) { var OrderdGroup = group.OrderBy(y => y.FirstName); Label1.Text += group.Key + " _ " + group.Count() + ""; Label1.Text += "------------------------"; foreach (var r in OrderdGroup) { Label1.Text += r.FirstName + " , " + r.Department.Name + ""; } Label1.Text += ""; } i use windows form application it's approximately the same
@kiranhyde
@kiranhyde 5 жыл бұрын
var empGroupByDept = Employee.GetAllEmployees() .GroupBy(x => x.Department) .OrderBy(x => x.Key); foreach (var group in empGroupByDept) { Console.WriteLine("{0} - {1}",group.Key,group.Count()); Console.WriteLine("--------------"); foreach (var employee in group.OrderBy(x =>x.Name)) { Console.WriteLine("{0} -- {1}",employee.Name,employee.Department); } Console.WriteLine(); Console.WriteLine(); }
@rodrigoantweber
@rodrigoantweber 10 жыл бұрын
Amazing !
@skolker
@skolker 10 жыл бұрын
AMAZING!!!!!!!!!!
@kevinandressanterohernande6534
@kevinandressanterohernande6534 7 жыл бұрын
thanks for the video, they are very good
@saagarsoni3
@saagarsoni3 10 жыл бұрын
thnx a lot sir
@emanshedid3469
@emanshedid3469 9 жыл бұрын
it's an amazing tutorial :)
@zeetsoft
@zeetsoft 3 жыл бұрын
Thank you
@gouravchouhan9511
@gouravchouhan9511 6 жыл бұрын
how can we show this group count on web page by grid view or something else
@KarimAlbakry
@KarimAlbakry 9 жыл бұрын
thanks a lot keep going
@jiturcm1
@jiturcm1 10 жыл бұрын
nice
@ahmedgadhassan
@ahmedgadhassan 8 жыл бұрын
How can Group Dynamic make user to choose any Field to Group @
@balarajug6143
@balarajug6143 6 жыл бұрын
Who to print in this data in GridView anybody can explain please ? var employeeGroup = from employee in Employee.GetAllEmployees() group employee by employee.Department; foreach (var group in employeeGroup) { Console.WriteLine("{0} - {1}", group.Key, group.Count()); Console.WriteLine("----------"); foreach (var employee in group) { Console.WriteLine(employee.Name + "\t" + employee.Department); } Console.WriteLine(); Console.WriteLine(); I am getting only Hr Record from below code var employeeGroup = from emp in Employee.GetAllEmployees() group emp by emp.Department; var result = string.Empty; foreach(var group in employeeGroup) { result = group.Key + " " + group.Count(); } GridView1.DataSource = result; GridView1.DataBind();
@sandeepreddypalannagari8489
@sandeepreddypalannagari8489 6 жыл бұрын
Sir how to do group by item count in rdlc report using asp. Net c#
@sharmilaramalingam3277
@sharmilaramalingam3277 6 жыл бұрын
Asquerable() example
@nice444b
@nice444b 2 жыл бұрын
Super
@remiduplan8449
@remiduplan8449 6 жыл бұрын
... and what if I want to retrieve the whole employee in the select new {} ? ... linq keeps me upset. And no tutorial (yours included) have ever change my mind about the stupidity, unlogical "order" of its syntax. or maybe .. unlike many other tuto, you explain badly this one. because if I want to get back the un-ordered employee ... syntax should be obvious. but I ca't even write "select employee" and egroup (if I understand well, is the equivalent of the employee.department) ... so why does it return the whole employee ? Linq is a gadget, not technical, it requires no skills but memory.
Part 19   Group by multiple keys in linq
10:38
kudvenkat
Рет қаралды 69 М.
Part 26   Set operators in LINQ
11:41
kudvenkat
Рет қаралды 42 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 671 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 26 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 16 МЛН
Part 1   What is LINQ
17:02
kudvenkat
Рет қаралды 688 М.
LINQ in C# - Top 10 concepts everyone should know 🔥
17:54
The Engineer's Desk
Рет қаралды 22 М.
Part 24   Left Outer Join in LINQ
8:07
kudvenkat
Рет қаралды 82 М.
(#12) OrderBy in LINQ | LINQ tutorial for beginners
14:41
WebGentle
Рет қаралды 12 М.
c# (Csharp):- What is the use of Yield keyword in c# ?
10:35
.NET Interview Preparation videos
Рет қаралды 276 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 836 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН