Home All Groups Group Topic Archive Search About

how does ado.net SqlDataReader.GetString() know which encoding to read the data into a string as? Do

Author
7 Mar 2007 11:12 PM
Daniel
how does ado.net SqlDataReader.GetString() know which encoding to read the
data into a string as? Does sql sever set this at the column data type
level, server wide encoding setting, os encoding?

Author
8 Mar 2007 11:06 AM
oscar.acostamontesde@googlemail.com
On Mar 8, 12:12 am, "Daniel" <softwareengineer98***@yahoo.com> wrote:
> how does ado.net SqlDataReader.GetString() know which encoding to read the
> data into a string as? Does sql sever set this at the column data type
> level, server wide encoding setting, os encoding?

Don't know, but you can get Reflector (http://www.aisto.com/roeder/
dotnet/) to see internal implementation of SqlDataReaderClass
Best regards,

Oscar Acosta

AddThis Social Bookmark Button