Is it possible to read the contents of a file using Fileupload.
For example, I want to save an XML file in a database, the user searches for the file using Fileupload and then click the button to save the contents of the file in the database.
I tried this one but it doesn't work
string s=Fileuploder1.Filecontent.tostring();
but without success, do you have any ideas?
Baper source
share