Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

retrieving encrypted data from a database into a textbox as decrypted data (text)

$
0
0

Hi

I'm developing a windows form applicaitn (c#) using vs2010 and sql server2008R2. As I am new to c#, I'm having some problems while developing the application.

I'm using text boxes to get data from the user and data is saved in a db under data type 'text'. I'm having an issue with saving symbols with hexadecimal values(it is something to deal with unicode i guess..... symbols like ", ; '.....etc)

for an example I cant transfer data by typing Textbox1.Text.ToString() or Textbox.Text . the data type given for that particular column of the table in the db is 'text' is there a way to encrypt the text? Also I am using a data grid view to view data saved in the db. So how am I going to decrypt and view it on the datagrid?

what are the adjustments i need to do to solve this???? your kind support is highly appreciated.. thanks.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>