✅ In window service app how to get table and column data in asp.net core
I have created a window service app in which I have implemented a function which gets the number of records in table but I want the data which is in the columns
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244554818077331519/Screenshot_2024-05-27_130446.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244554818362675330/Screenshot_2024-05-27_130532.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244554818639626311/Screenshot_2024-05-27_130610.png)
5 Replies
uh, execute an appropriate query...?
Your
data
is a dictionary that should contain the data
So, that
Use that![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244570802590842920/image.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244570802888642571/image.png)
This is the data which I want to get
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244571117968949292/image.png)
and it is stored in the dictionary you get from your method
So use that dictionary
Or a list of dictionaries
For whatever reason
This only gives the first row
Hey @ZZZZZZZZZZZZZZZZZZZZZZZZZ, can you help me please I want to use hangfire as windows service. Is there any example or somthing related to this or can you guide me with this?