I am developing a forum. When a user visits his mycontrols.aspx page, his uploaded pic should be shown there. But dont know why the pic is not being displayed.
The image is uploaded in editavatar.aspx page. On the click of the upload button, the url of the selected image is sent to the database's table's field. This fields type is nvarchar(200). Here is the code code behind the upload button's click.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim str As String
str = File1.Value
com.Parameters.Add("@img1", str)
com.ExecuteNonQuery()
dr = c ...
Go to the complete details ...