Skip to content

Codepolice

  • ⤫

Group By with LINQ

Today I wanted to do a group-by query with LINQ which is something I did before. It turned out to be kind of easy. If you just want to group by a single field. (from s in db.CrewStatsSet where s.LogDate >= date1 && s.LogDate <= date2 && s.Action == action group s by s.User.nick into

Posted by Judy Alvarez Posted on February 25, 2022March 3, 2022
0

Join and Group By with LINQ to Entities

I have banged my head against some LINQ to Entities stuff today. It started out when I was doing a query to get some stats out of my forum. I should point out that I’m a newbe with LINQ to Entities and the Entity Framework so if I have done anything stupid here you are

Posted by Judy Alvarez Posted on February 25, 2022March 3, 2022
0

Using JQuery Validation plugin with ASP.NET

Like everyone else, I’ve been playing around with JQuery a lot lately. Asp.net and JQuery are not the best friends in the world but I guess it will be a lot better when using ASP.NET MVC. Microsoft also announced that they will support JQuery natively in future versions. Nice! If you want to learn more about

Posted by Judy Alvarez Posted on February 25, 2022March 1, 2022
0

Create a tag cloud with a limited amount of tags in ASP.NET and LINQ

Today I built a Tag cloud for my new site. I found this great article about how to do it with LINQ and C#. But I missed some features. Especially how to limit the number of tags that were shown. So if you read that article and then have a look at this code if you

Posted by Judy Alvarez Posted on February 25, 2022March 1, 2022
0

ASP.NET 4.0 – Some info from PDC

I am in my bed and watching a session from PDC called “ASP.NET 4.0 Roadmap”. So .. what is the good stuff? One of the coolest things is that Microsoft has totally been transformed into a release early, release often kind of company. It’s a huge difference between how it worked in the .net 1.0

Posted by Judy Alvarez Posted on February 25, 2022March 1, 2022
0

LINQ to SQL and the XML datatype

Today i have done some stuff with LINQ to SQL and the xml data type from SQL Server 2005. I had some problem finding information about this and spent some hours figuring out how the insert/update/delete worked. Post a comment if you find something I’ve done wrong. This is mostly for my own reference. Get

Posted by Judy Alvarez Posted on February 25, 2022March 3, 2022
0

LINQ to SQL and the XML datatype

Today i have done some stuff with LINQ to SQL and the xml data type from SQL Server 2005. I had some problem finding information about this and spent some hours figuring out how the insert/update/delete worked. Post a comment if you find something I’ve done wrong. This is mostly for my own reference. Get

Posted by Judy Alvarez Posted on February 25, 2022March 3, 2022
0

Posts navigation

Page 1 … Page 12 Page 13
Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • Microsoft spills the tea on TypeScript
  • Does Node need a mascot of its own?
  • JavaScript, ML and LLMs
  • You can run GitHub Gists with npx
  • TypeScript 5.2, Node 20.6, and Astro 3.0
https://flatlogic.com/generator
COPYRIGHT © 2023 - Codepolice