I have problem with the asp:FileUpload control. I placed one upload control on the webform. In runtime i clicked on the browse button and i got the url in the fileupload textbox. Now, i have to save the url in the database.I have written code like this:
lobjVehiclesInfo[0].AttachmentFile=AttachFileUpload.FileName.ToString();here i am recieving null in the "FileName.ToString()". How to acheive this probelm?