摘要:
string input_pwd=get_input_pwd();string pwd=get_pwd(user_name);bool pwd_bool=input_pwd==pwd;int err_time=get_err_time(user);datetime last_err_time=get... 阅读全文
摘要:
1.首先编写BaseController这个类,需要引入Newtonsoft.Json.dll程序集using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;u... 阅读全文
摘要:
1.注意级联删除的时候数据库的外键要设置为开启级联删除,(数据库里sqlserver的外键修改的时候,可以看到级联删除和级联更新)using System;using System.Collections.Generic;using System.Data.Entity;using System.L... 阅读全文