programming arduino

Hello.I have a question.Can i upload 2 different codes on an Arduino Uno?

What is it you are trying to do?

i'm trying to program an RFID and to transmit the data from RFID to an Xbee.

Write your code such that if a condition is met you program the RFID, if a second condition is met you transmit.
These conditions could be switch closures, timing etc.
Therefore, you have only one sketch to upload.

Can you give me some exemples,please.

calin:
Can you give me some exemples,please.

Can you use Google?

do you think that i didn't search?

calin:
do you think that i didn't search?

Nope. There are hundreds, if not thousands of examples for working with RFID and XBee out there.