01.
Dim
cmd
As
New
SqlCommand(
"select bb.GoodCode, aa.PicType, aa.GoodPathPic "
& _
02.
"from EMGoodPic aa ,"
& _
03.
"EMGood bb "
& _
04.
"where aa.GoodID = bb.GoodID and bb.GoodCode = @pi"
, condb)
05.
06.
Using rd = cmd.ExecuteReader()
07.
While
rd.Read()
08.
Response.Write(rd(
"GoodPathPic"
) &
"<br/>"
)
09.
imgShow.ImageUrl = rd(
"GoodPathPic"
)
10.
End
While
11.
End
Using