private void DefaultReport() { string query = _drTable["Query"].ToString().ToUpper(); query = trimSpace(query); query = query.Replace("+ @@PS", "+ '" + _psString.Replace("'", "''") + "' "); query = query.Replace("+@@PS", "+ '" + _psString.Replace("'", "''") + "' "); query = query.Replace("'@@PS'", " '" + _psString.Replace("'", "''") + "' "); query = query.Replace("@@PS", _psString); query = UpdateSpecialCondition(query); _dtData = DbData.GetDataTableNotrans(query); }