Take two image buttons and give the image url's to those image buttons and write the code in page load as
imagebutton1.visible=false;
imagebutton2.visible=false;
And in If condition you should write the code as
if(status==1)
imagebutton1.visible=true;
else if
imagebutton2.visible=true;