Posted on: 6/4/2014 12:06:13 PM | Views : 382

Hi All,
I sort of have a requirment for browse for file and upload the file and create link for that uploaded data (which can be any file format).
i have managed to browse for file and upload it and created a link, but as soon as a post back comes it goes away. I know you can store it in a database. 
but the link needs to be there till the user enter all the info before you can enter it to the database. And if someone can tell me how to put a <br> Dynamically.
into a table and put the link before all the controll in the cell, it will be greate.

please see my code
string Downloadlocation; if (!TextBox1.Text.Equals("")) { try { string filename = Path.GetFileName(FileUpload1.FileName); Downloadlocation = Server.MapPath("~/Downloads") + "\\" + TextBox1.T ...

Go to the complete details ...