在SQL语句insert into UserInfo(Name,Password,Email) values("+"'"+this.Name+"',"+"'"+Functions.Encrypt(this.Password,1)+"',"+"'"+this.Mail+"')中Functions.Encrypt()是什么意思?谢谢哪位帮我讲讲~~~我也是刚刚学习,许多东西都不明白~~~

解决方案 »

  1.   

    我编译时出现:
    The type or namespace name 'Functions' could not be found (are you missing a using directive or an assembly reference?)
    请问要怎么修改~~~~
    急~~~
      

  2.   

    Functions在那个命名空间里你就要useing那个命名空间
    在functions上右键转到定义,就可以知道了
      

  3.   

    我想往数据库中插入一些数据:
    insert into UserInfo(Name,Password,Email) values("+"'"+this.Name+"',"+"'"+Functions.Encrypt(this.Password,1)+"',"+"'"+this.Mail+"')
    可是执行上面的操作会报错:
    The type or namespace name 'Functions' could not be found (are you missing a using directive or an assembly reference?)这是怎么回事儿呀???
      

  4.   

    直接将密码存储起来不就行了吗?为什么还要用Functions.Encrypt()转化一下呢?我刚查了下,也没有查到关于这个函数的资料....
      

  5.   

    Functions.Encrypt(this.Password,1)直接换成this.Password不行??