I have on a Default.aspx this tag:
...................
<img src=MyAspx style="height:250px" />
Now i will to make the height of the image dynamically:
<img src= MyAspx style=myParameter />
PS:myParameter is a Parameter, which i retrieve it from database
1-How do this?Where should be myParameter defined, in Default.aspx or in codebehind....?
2-Is There maybe better technique in to define the
Hight instead of to write style="height:250px ,
i mean some other controll, Grid or whatever i dont know them!?
PS:i use C# as to write my Classes, codebehind a.s.o
Thanks
...................
<img src=MyAspx style="height:250px" />
Now i will to make the height of the image dynamically:
<img src= MyAspx style=myParameter />
PS:myParameter is a Parameter, which i retrieve it from database
1-How do this?Where should be myParameter defined, in Default.aspx or in codebehind....?
2-Is There maybe better technique in to define the
Hight instead of to write style="height:250px ,
i mean some other controll, Grid or whatever i dont know them!?
PS:i use C# as to write my Classes, codebehind a.s.o
Thanks