The output of execute query is showing only the table headers meanwhile the same select query in sql is giving 342 rows.please help me debug this issue
Can you share the query here to see. you can change the actual values with dummy one and share.
Make sure that you have passes the correct connection string and result is passed.
Hi might be you are passing wrong table name make sure you are accessing correct table