如何控制Datalist图片的大小和标题的长度?
在test.aspx页面中 
 有一个Datalist和 
 三个文本框,分别是宽度,高度,及标题的长度, 
 客户输入三个值后,图片的宽和高,标题就会改变 
------解决方案--------------------放一image控件,把文本框的autopost设为true 
 在changed事件里写改变image控件的标题尺寸大小的代码   
 其实最好用JS做
------解决方案--------------------舍JS取谁? 
  <span id=sp_title> this is image title </span>  
  <img id=img1 src=bet.jpg>  
  <input id=txtTitle>  <input id=txtWidth>  <input id=txtHeight>  
  <input id=btnSubmit type=button onclick=getValue()>  
  <script>  
 function getValue() 
 { 
 sp_title.innerHTML = txtTitle.value; 
 img1.style.width = txtWidth.value; 
 img1.style.height = txtHeight.value; 
 } 
  </script>