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); } }
partial void DeleteloginTB(loginTB instance);
partial void UpdateloginTB(loginTB instance);
partial void InsertloginTB(loginTB instance);