예제 #1
0
        public void Edit(TuiguangQQ user)
        {
            //   string str = "update T_User set [Password]='" + user.LoginPassWord + "',[Jifen]="+user.Jifen+" where [QQ]='"+user.QQ+"'";

               // _DBbase.ExecuteCommand(str);
        }
예제 #2
0
 private TuiguangQQ GetEntity(DataRow dr)
 {
     TuiguangQQ user = new TuiguangQQ();
     user.Id = (int)dr["Id"];
     user.UserQQ  = dr["UserQQ"].ToString();
     user.Tuiguang = dr["TuiguangQQ"].ToString();
     user.CreatedAt =(DateTime ) dr["CreatedAt"];
     return user;
 }