public bool insertLogin(int id, string usName, string password)
        {
            try
            {
                loginTB newLogin = new loginTB();

                newLogin.userID   = id;
                newLogin.userName = usName;
                newLogin.password = password;

                myCashDB.loginTBs.InsertOnSubmit(newLogin);
                myCashDB.SubmitChanges();

                return(true);
            }
            catch
            {
                return(false);
            }
        }
Пример #2
0
 partial void DeleteloginTB(loginTB instance);
Пример #3
0
 partial void UpdateloginTB(loginTB instance);
Пример #4
0
 partial void InsertloginTB(loginTB instance);