how to display an开发者_Go百科 image whose path is stored in the database onto the aspx page, i am using the data list control, and also onclick of the image, the user details has to load. the image path and user id are in the same table.please send the code for this.
Try the following code:
string filePath = Server.MapPath("~/NewsImages/" + FileName);
mallDataSource.InsertParameters.Add("NewsImagePath", filePath);
精彩评论