i have recently purchase altera's fpga and purchase from china NIOS II SOPC FPGA A-C2FB.i burn the configuration file in the board. it run only ones and after reset it run the default code.
That's exactly as expected. You've loaded your image into the FPGA configuration RAM. It will only be held while the power is on. Since your board powers up with a default configuration, it must have some flash memory installed to configure from. What you need to do is burn your configuration into the flash. Check what configuration method the board uses and use the Altera tools to create a programming file (not the same as the configuration file). Then use the programmer to burn the programming file onto your flash.
There are tutorials out for several configuration flash methods. You first need to find out how your board is being configured. Check the schematic and the data sheet for the flash chip. Then look at the altera configuration handbook and see if you can spot what method is being used. Normally this info is all in the dev board documentation.