Beispiel #1
0
 public int checkLogin(string username, string password)
 {
     System.Diagnostics.Debug.Write(username + "  " + password);
     return(da.checkUserLogin("spDangNhap", System.Data.CommandType.StoredProcedure,
                              new System.Data.SqlClient.SqlParameter("@username", username),
                              new System.Data.SqlClient.SqlParameter("@password", password)));
 }