P
PCRmike
I have been trying to understand why the maxLength column is not
populated when a datatable is populated using the
SqlClient.SqlDataAdapter.Fill() command. I do not know why it requires
another round trip to the server via fillschema() when the data is
there. (I used a protocol analyzer to see it)
If you open a client-side cursor on ADO 2.8 (VB6) the definedSize is
transmitted to the client without doing another round trip. The
fillschema() works fine on ADO.NET but why request data that you
already have? Is there a way to expose this raw data from the TDS
format?
populated when a datatable is populated using the
SqlClient.SqlDataAdapter.Fill() command. I do not know why it requires
another round trip to the server via fillschema() when the data is
there. (I used a protocol analyzer to see it)
If you open a client-side cursor on ADO 2.8 (VB6) the definedSize is
transmitted to the client without doing another round trip. The
fillschema() works fine on ADO.NET but why request data that you
already have? Is there a way to expose this raw data from the TDS
format?