TipGiver
Programmer
- Sep 1, 2005
- 1,863
In my previous thread thread855-1349928 ca8msm helped me to accomplish a part.
This now is quite similar. I can get the fields from the db sane way.. have the datasource auto-generated as i drag and drop the table from the server explorer. Some fields are encrypted. I need to show them de-crypted.
I converted the bound fields into templates, and in the ItemTemplate there is a label (in edit template a textbox). Can this be done directly in xml somehow like: text=MyEncyptionClass.Decrypt('<%# Bind("EncryptedField") %>') ?
Or this is BLL and I need to bind a class (object) ?
Thanks
This now is quite similar. I can get the fields from the db sane way.. have the datasource auto-generated as i drag and drop the table from the server explorer. Some fields are encrypted. I need to show them de-crypted.
I converted the bound fields into templates, and in the ItemTemplate there is a label (in edit template a textbox). Can this be done directly in xml somehow like: text=MyEncyptionClass.Decrypt('<%# Bind("EncryptedField") %>') ?
Or this is BLL and I need to bind a class (object) ?
Thanks