Accessing uploaded file in Row_Updated

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.

Accessing uploaded file in Row_Updated

Postby cheemingyong » Thu Sep 14, 2017 10:19 am

hi i have a file upload field in my edit form and i would like to write a function to process
an excel after the file upload. so i figured the best place to plant this is in
Row_Updated under table events ?

Then from there i would like to find the filename and physical location of the file that is uploaded.
Is there anyway to go about this ?

public void Row_Updated(OrderedDictionary rsold, OrderedDictionary rsnew) {
// get filename of uploaded here to be done here.
ew_Write("Row Updated");
Posts: 44
Joined: Wed May 17, 2017 12:00 pm

Re: Accessing uploaded file in Row_Updated

Postby motfs » Thu Sep 14, 2017 10:51 am

To check the file name, use:

The upload folder will be (specify in ASP.NET Settings -> General Options -> File Upload -> Upload folder if you do not specify for the individual field):
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm

Return to General Discussion (ASP.NET Maker)