public static bool ORCS_User_CHECK_Login(object cUserID, object cPassword) { clsORCSDB ORCSDB = new clsORCSDB(); string strSQL = "SELECT * FROM ORCS_User WHERE cUserID = '" + cUserID + "' AND cPassword = '******'"; if (ORCSDB.ExecuteDataTable(strSQL).Rows.Count > 0) { return(true); } else { return(false); } }