How can I show a sql database table in an organized list?

  • Thread starter Thread starter Leonel Marcos
  • Start date Start date
L

Leonel Marcos

Guest
Hi, how are u guys?

I'm doing a project, simple CRUD thing in C# and SQL Server, but with a button that acess the database and display the data the way I want in a Rich Text Box, I want it to be displayed something like this:

Total Registered People in Database: 10, 5 Male, 5 Female

City
Total Registered Users in this City: 2, 2 Male, 0 Female

OtherCity
Total Registered Users in this City: 8,3 Male, 5 Female


But I'm kinda lost here, tried using SQL Select in different ways, but none are satisfatory, if u can help me out. :)

Continue reading...
 
Back
Top