how to set asp.net image control width and height property
<p>i am using asp.net and c# 
i want to set image height and width property using c# code , i can do it , but the value will be set as an inline style 
like this : </p>

<pre><code>&lt;img id="image1" style="height:220px;width:800px;border-width:0px;"&gt;
</code></pre>

<p>but i want something like this</p>

<pre><code>&lt;img id="image1" width="800" height="220"&gt;
</code></pre>

<p>i use this code , but it render like css code :( </p>

<pre><code>  image1.Width = 800;
  image1.Height =220;
</code></pre>

<p>is there any idea?</p>