it can't export privkey after i add a password in my wallet,why?
Because the password is used to encrypt the private key. You have to enter it (on the RPC console with "bitcoind walletpassphrase YOURPASSWORD UNLOCK-HOW-LONG") before performing any commands that need a private key so the key can be decrypted again.