F
Frank Lopez
Question: Can I use SqlDataReader.GetString() to read DbType.Text
field values that are larger than 8,000 characters? For example, if I
decide to store a 256K ASCII text string in a column, will
SqlDataReader.GetString() still be able to read it using a single
call?
Or, do I need to use SqlDataReader.GetChars() or some other methods?
Also, when setting a DbType.Text value that is greater than 8000
characters, do I need to use any special API calls, or can I just set
it as I would set a string field that is 50 characters?
Thanks,
Frank
field values that are larger than 8,000 characters? For example, if I
decide to store a 256K ASCII text string in a column, will
SqlDataReader.GetString() still be able to read it using a single
call?
Or, do I need to use SqlDataReader.GetChars() or some other methods?
Also, when setting a DbType.Text value that is greater than 8000
characters, do I need to use any special API calls, or can I just set
it as I would set a string field that is 50 characters?
Thanks,
Frank