asp.net - Display an image on webform2 upon click of button from webform1 -
- making webform1 displays list of car names. - each car has corresponding button directs webform2 image of corresponding car displayed. - storing image of each car in folder in project.
what algorithm or code should put on button load different image based on corresponding car name clicked on.
you this:
child form
public string carsource{ get; set; } public testform() { initializecomponent(); } public void updatevalues() { image.source = carsource; }
initiate it
var child = new testform {carsource = sometextbox.text}; child.updatevalues(); child.showdialog();
Comments
Post a Comment