![]() ![]() upload the file to a directory on your web server (the FileControl will do this without exposing the full path of the user's file So you will need to implement an intermediate step before loading into SQLServer: On the server event handling for this control, you would have your code to upload the file to your web server, and then subsequently into sql server.įor security reasons, the FileUpload control does not provide the FULL path to the client file, but only provides the file name (like "smith.bmp" in the example). However, you need to provide a button or other control which allows the user to submit the file. The FileUpload control simply lets the user choose a file, and provides methods to wire up the upload. The overview of FileUpload Class should give you all the information you need. ![]() In the meantime, you should be able to create a working model using online documentation. If someone else has a quick example, please provide it here.
0 Comments
Leave a Reply. |