从SQLSERVER数据库中读数据出来是怎么做的呢?谢谢
htys3 2005-03-30 09:36:32 protected System.Web.UI.WebControls.Image myimg;
SqlCommand cmdGetContent = new SqlCommand("SELECT 图片 FROM 图片表 where 编号 = '" + bh + "' order by 编号 DESC",myConnection);
if (cmdGetContent.ExecuteScalar()!=null)
{
dadGetContent.SelectCommand = cmdGetContent;
dadGetContent.Fill(dstGetContent, "content");
dr6=dstGetContent.Tables["content"].Rows[0];
myimg.??????????????=dr5["图片"]
}