Hi! in my app external files need 2 b uploaded using a textbox(no file upload control)so the file name is manually specified..the file is not getting saved
Code:
string strPath = ConfigurationManager.AppSettings["AttachmentsPath"].ToString(); strFilePath = strPath + "\\Projects\\" + ViewState["ProjectID"].ToString(); objAttachment.AttachmentName = strFilePath; objAttachment.FileName = txtExternal.Text;
thats my code there