Pass between pages

xiaoxiao2021-03-06  17

I use defined attribute IMGURL in User Control (UI).

Where IMGKEJI is an image control.

Public string imgurl {get {return this.imgkeji.imageurl;} set {this.imgkeji.imageURL = value;}}

On other pages aspx.cs (with this control)

The corresponding location is used:

(Ui) this.FindControl ("ID"). Imgurl = "../ images / kjxw.gif";

Where the UI is the control, the ID is the ID of the control in the page.

Other classs are ....

转载请注明原文地址:https://www.9cbs.com/read-44968.html

New Post(0)