Click here to Skip to main content
15,904,023 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: NunitAsp Reference adding problem [modified] Pin
Member 451421816-Jul-08 0:58
Member 451421816-Jul-08 0:58 
QuestionEnable/disable Pin
kjosh15-Jul-08 19:19
kjosh15-Jul-08 19:19 
AnswerRe: Enable/disable Pin
N a v a n e e t h15-Jul-08 21:26
N a v a n e e t h15-Jul-08 21:26 
Questionhow to retrive picture at third page as it is submited at first page Pin
gaurav mangal15-Jul-08 18:58
gaurav mangal15-Jul-08 18:58 
AnswerRe: how to retrive picture at third page as it is submited at first page Pin
Sherin Iranimose15-Jul-08 20:04
Sherin Iranimose15-Jul-08 20:04 
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
gaurav mangal16-Jul-08 21:13
gaurav mangal16-Jul-08 21:13 
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
gaurav mangal16-Jul-08 23:09
gaurav mangal16-Jul-08 23:09 
AnswerRe: how to retrive picture at third page as it is submited at first page Pin
Gayani Devapriya15-Jul-08 20:06
Gayani Devapriya15-Jul-08 20:06 
Hi Gaurav,

In the code you've given its clear that you are saving the file in 'filepath' location.
That means the files you want in page three will be in the server by the time you want in page three..So...
What I feel is, at the same time save all the file names into a collection and store that in the session.
example:
List<string> myFiles = new List<string>();

myFiles.add(userPostedFile.FileName);
//Add this line after saving the file.

Then add it to a session
Session["MyFileCollectionNames"] = myFiles;

Now go to your third page. And check if this particular session is null or not. If not..
if(Session["MyFileCollectionNames"] != null)
{
List<string> myFiles = (List<string> )Session["MyFileCollectionNames"];
foreach(string sFileName in myFiles
{
// You can retrieve the file name from the variable sFileName here...
//Full file path : filepath + sFileName

}
}
Hope it helps
Thx,
Gayani
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
gaurav mangal16-Jul-08 21:17
gaurav mangal16-Jul-08 21:17 
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
Gayani Devapriya17-Jul-08 18:35
Gayani Devapriya17-Jul-08 18:35 
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
gaurav mangal17-Jul-08 19:51
gaurav mangal17-Jul-08 19:51 
GeneralRe: how to retrive picture at third page as it is submited at first page Pin
Gayani Devapriya18-Jul-08 6:53
Gayani Devapriya18-Jul-08 6:53 
QuestionHow do i calculate the Start_cell_number and end_cell_number from Start_Display_datetime and end_display_datetime calcultion. Pin
Rameez Raja15-Jul-08 18:52
Rameez Raja15-Jul-08 18:52 
QuestionHelp is needed in Displaying Data inside table or Gridview control Pin
Rameez Raja15-Jul-08 18:37
Rameez Raja15-Jul-08 18:37 
AnswerRe: Help is needed in Displaying Data inside table or Gridview control Pin
Mamphekgo Bahula15-Jul-08 19:30
Mamphekgo Bahula15-Jul-08 19:30 
Questionbytes from sql table Pin
vicki52815-Jul-08 18:07
vicki52815-Jul-08 18:07 
AnswerRe: bytes from sql table Pin
Sherin Iranimose15-Jul-08 20:20
Sherin Iranimose15-Jul-08 20:20 
QuestionDisplay word document in web page Pin
Member 406547215-Jul-08 14:12
Member 406547215-Jul-08 14:12 
AnswerRe: Display word document in web page Pin
Gayani Devapriya15-Jul-08 18:07
Gayani Devapriya15-Jul-08 18:07 
QuestionDropDowns/GridView Column Pin
ffowler15-Jul-08 10:10
ffowler15-Jul-08 10:10 
AnswerRe: DropDowns/GridView Column Pin
ffowler15-Jul-08 10:27
ffowler15-Jul-08 10:27 
Questionweb.config authentication Pin
Ed.Poore15-Jul-08 9:53
Ed.Poore15-Jul-08 9:53 
AnswerRe: web.config authentication Pin
Mike Ellison15-Jul-08 13:57
Mike Ellison15-Jul-08 13:57 
GeneralRe: web.config authentication Pin
Ed.Poore15-Jul-08 22:34
Ed.Poore15-Jul-08 22:34 
Questionreturning server side class object to javascript. Pin
yang__lee15-Jul-08 8:02
yang__lee15-Jul-08 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.