从SQL数据库填充数据集 [英] Fill DataSet from SQL Database

查看:129
本文介绍了从SQL数据库填充数据集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.现在,我正在尝试从SQL数据库中的表填充数据集.
通常我可以使用SqlDataAdapter,但是现在我还有其他问题.

该表由3列ID,用户名和密码组成.
用户名和密码已加密,因此我需要做下一件事:

获取表中的所有项目,从用户名"列中解密所有项目,然后使用该新数据填充数据集.

你能给我一些想法吗?

谢谢

Hello everyone. Now I''m trying to fill a DataSet from a table in a SQL Database.
Normally I can use the SqlDataAdapter, but now I have other problem.

The table is composed by 3 columns ID, UserName, Password.
UserName and Password are Encrypted, so I need to do the next thing:

Get all items of the table, decrypt all items from UserName column, and later fill the DataSet with that new data.

Can you provide to me some ideas?

Thanks

推荐答案

阅读全文:
http://msdn.microsoft.com/en-us/library/ms173744 [ ^ ]
Read thru :
http://msdn.microsoft.com/en-us/library/ms173744[^]


这篇关于从SQL数据库填充数据集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆