Hi folks, i followed the simple file upload tutorial over here : http://www.asp.net/Learn/data-access/tutorial-54-vb.aspx
The upload works perfectly, but just one issue. I am saving the file in a folder called newsletters. So when i upload say may_09.pdf through the file upload, it goes to "newsletters\may_09.pdf". I am displaying the files i upload in a datalist. and in my access database i have 3 fields : nlid, nltitle and nlbody. When they shouw up in my datalist, nlbody contains the path of the file in the format "newsletters\may_09.pdf" and the title contains the text of the file to be shown.
Now my problem is that when the file is uploaded, i am able to save the file name, but not the"newsletters/" path with it, so basically it links to nothing. following is the code i am using.
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)< ...
Go to the complete details ...