© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
4 replies
morry329#

✅ Csharp returns nothing while reading SQL data table

My current code is here: https://pastebin.com/0kwPVGWm

It was supposed to return the whole content of my SQL datatable (it's just an easy peasy table with 2 Columns and 2 rows). But if I run this C# program it returns absolutely nothing. What have I done wrong potentially?
Pastebin
databank_program - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Timeout Issue - (SQL Server & CSharp)
C#CC# / help
4y ago
MemoryExtensions.Split returns nothing
C#CC# / help
3y ago
❔ Getting SQL data from a relationship table
C#CC# / help
3y ago