public void InsertUsers() { string sql = SQLHelper.GetSqlCommand("srdjan", "tomic", "admin", "pass", "saltt", "hash", "admin"); SQLHelper.ExecuteCommand(sql); string sql1 = SQLHelper.GetSqlCommand("srdjan", "topic", "user", "pass", "saltt", "hash", "regular"); SQLHelper.ExecuteCommand(sql1); }
public void InsertUsers() { string sql = SQLHelper.GetSqlCommand("gocii", "pavee", "admin", "pass", "saltt", "hashhh", "admin"); SQLHelper.ExecuteCommand(sql); string sql1 = SQLHelper.GetSqlCommand("gocii", "pavee", "user1", "pass", "saltt", "hashhh", "regular"); SQLHelper.ExecuteCommand(sql1); string sql2 = SQLHelper.GetSqlCommand("gocii", "pavee", "user2", "pass", "saltt", "hashhh", "regular"); SQLHelper.ExecuteCommand(sql2); string sql3 = SQLHelper.GetSqlCommand("gocii", "pavee", "user3", "pass", "saltt", "hashhh", "regular"); SQLHelper.ExecuteCommand(sql3); string sql4 = SQLHelper.GetSqlCommand("gocii", "pavee", "goci", "pass", "saltt", "hashhh", "admin"); SQLHelper.ExecuteCommand(sql4); }
public void InsertUsers(string first, string last, string username, string pass, string salt) { string sql = SQLHelper.GetSqlCommand(first, last, username, pass, "saltt", "hashhh", "regular"); SQLHelper.ExecuteCommand(sql); }