// get ProgressId from QueryString
string pid = Request.QueryString["ProgressId"];
// Create a new DNUpFilesProgressBE object
DNUpFilesProgressBE dNUpFilesProgressBE = new DNUpFilesProgressBE();
// set ProgressId
dNUpFilesProgressBE.ProgressId = pid;
// start monitoring
dNUpFilesProgressBE.Monitor = true;
Response.Write(dNUpFilesProgressBE.Percentage);
|