0
Reply

Export encrypted field in sql by c#

Gokhan Ozbulak

Gokhan Ozbulak

Aug 3 2006 3:52 PM
1.7k
Hi friends There is a field that keeps data encrypted in my database.I want to export it to a text file by the program that is coded by C#.I use datareader object and ExecuteReader metdod to realize query and take contents in fields by getvalue method. There is no problem for fields except encrypted field.But when the program gets the content of the encrypted field, it writes to file "System.Byte[]" instead of the value of content. Is there anyone to help me about this?