Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6218697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:39:17+00:00 2026-05-24T07:39:17+00:00

We can easily work with SQL Server databases with the help of System.Data.SqlClient library

  • 0

We can easily work with SQL Server databases with the help of System.Data.SqlClient library in C#.

We can return values from stored procedures or we can write sql commands by hardcoding them in C# code.

Then we pass the result to a SqlDataReader to read the values.

But I am really wondering what SQL Server returns to C#.

C# makes the call to SQL Server and SQL Server gives something (XML, JSON or whatever it is) to C# on return.

What is this thing really? And how can we get only this thing if we want to read it through manually ourselves?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T07:39:18+00:00Added an answer on May 24, 2026 at 7:39 am

    I believe SQL Server at least used to use TDS for its data transfer. I don’t know whether it still does – and using it directly would make your code very brittle in the face of changes within SQL Server. The whole point of having client libraries is to isolate you from the intricacies of the protocol.

    What benefit are you trying to derive from reading through this manually, over (say) using SqlDataReader, which is about as low-level as most applications will ever need?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can easily define a datatype for a node of a directed graph. data
From Eclipse I can easily run all the JUnit tests in my application. I
In C# you can easily read all classes from a given assembly. I'm looking
I have a column in the database (SQL Server 2005) that has data with
We have a couple of mirrored SQL Server databases. My first problem - the
If I have a new install of SQL Server Standard on one machine, can
In the code below, cin only extracts non-blank characters, so I can easily work
TFS (2008) has the great feature of work item tracking where I can easily
I can easily ascend the class hierarchy in Ruby: String.ancestors # [String, Enumerable, Comparable,
When using PyWin I can easily load a python file into a fresh interactive

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.