I have a textbox and a picture box. if picture code is 0 then '1','picture1' should be displayed in textbox and picture box. similarly if picture code is 1 then '2','picture2' should be displayed. In my code i used switch case to check the picture code. but when i run the program it is showing only the picture2 and '2' in the textbox. ie, how many images are tere only the last one is getting displayed.