Date: 2024-12-06 13:47:10
Score: 2
Natty:
Change your ExecuteScalar into ExecuteReader. Then follow the example here:
Reading SQL query result with multiple columns in C#
Reasons:
- Probably link only (1):
- Low length (1.5):
- No code block (0.5):
- High reputation (-1):
Posted by: Bart McEndree