Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to find a single row size (in kbs) of a sql data adaptor using vb.net code.

What I have tried:

I have searched the web, but there is no answer
Posted
Updated 12-Mar-19 22:18pm

1 solution

An SQL Data Adapter has no "size", the DataTable or DataSet data that it fetches does. And that had no "fixed size", it is totally dependant on the data in the underlying SQL table; and since that can be variable size - NVARCHAR(MAX) for example - the "size" of a row in the adapter will depend on the specific row that you select, and the SQL SELECT statement that you used to fetch it.
 
Share this answer
 
Comments
kgmmurugesh 13-Mar-19 9:26am    
Thanks, In my case, i want to update data from branches to server. if i update all records in a table to server with single query it takes too much time and returns network error. so that i want to split the data based on size. Is there any other way to do it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900