i have many payment rows in same date and i want to count how many payments i this date and put count result in new 1 row i'm made it manually by excel but i want make it in c# with SQL Server & Data Grid View this 2 photos will make you understanding https://i.imgur.com/J7tRKjk.jpg https://i.imgur.com/8B7JeQY.jpg
SELECT MyDateField, COUNT(MyDateField) FROM MyTable GROUP BY MyDateField
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)