Answer the question
In order to leave comments, you need to log in
How to count the number of selected records from a database in C# ASP.NET?
Good day to all!
Actually a subject. Interested in solutions on the frontend side (razor view type) and backend in the controller somewhere.
I am sampling like this:
var files = from m in db.Files select m;
files = files.Where(s => s.TreatmentId == id);
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question