srujanac# 0 Newbie Poster

I wrote the code for fileupload control such that when i click browse the path of the file is being stored instead of that i need to store the uploaded file in a floder under solution explorer and the name of the file should be stored in the database.can anyone help me.


clsAdminBLL.Saveresources(ddldocumenttype.SelectedItem.Text.ToString(), fudocs.PostedFile.ToString(),txttitle.Text.ToString(), Convert.ToDateTime(txtdate.Text.Trim()).ToString());