简体   繁体   English

DetailsView何时解码数据

[英]DetailsView when DECODE data

Hi I have a DetailsView control that should display data from a DataBase. 嗨,我有一个DetailsView控件,该控件应显示数据库中的数据。 This data it is Encoded. 此数据已编码。

Which is the best way to DECODE this data before visualize the result in the DetailsView. 在DetailsView中显示结果之前,这是解码此数据的最佳方法。

DataBound event handler? DataBound事件处理程序? DataBinging Event Handler? DataBinging事件处理程序?

Could you give me an example of code. 你能给我一个例子代码。

Thanks for your time 谢谢你的时间

As IrishChieftain mentioned you need to know the method you used to encode the data. 正如IrishChieftain所提到的,您需要了解用于编码数据的方法。 For code I suggest having a look at http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider.aspx 对于代码,我建议看看http://msdn.microsoft.com/zh-cn/library/system.security.cryptography.rsacryptoserviceprovider.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM