摘要:
Encrypting/Decrypting Connection String in ASP.NetWhen we use Sql authentication to connect to database it will be betterif weencrypt and decrypt the connection string for security purpose because the userid and password are specified in clear text. Even though, users can't access web.config fil 阅读全文
摘要:
How to: Implement Simple Forms Authenticationreference http://msdn.microsoft.com/en-us/library/xdt4thhy.aspx --------------------------------------------------------------------------------------In th... 阅读全文
摘要:
我们会经常遇到这样的问题:就是一个页面有多个文本框和多个按钮,当然是只在一个页面下面,也就是只有一个form的情况下。 我经常会做这样的操作:我们想在文本框里输入对应的值之后 然后按回车就会有相应的按钮来对应事件的触发。比如说:我有两个按钮 ID 分别为 btn_one ,btn_two, 同时有连个文本框 ID 分别为 txt_one, txt_two 与之相对应。当我在 txt_one 输入值... 阅读全文