Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3973988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:30:55+00:00 2026-05-20T04:30:55+00:00

This question relates to ASP.NET MVC3 using the Razor Engine. What I need to

  • 0

This question relates to ASP.NET MVC3 using the Razor Engine.

What I need to do:

  1. Allow user to upload a comma delimted text file

  2. On post, parse the file on the server (without saving to disk) and display a message to the user about the contents of the file in a different view.

  3. Allow the user to choose “Yes” or “No” to perform a final import of the data within the file to some external database.

NOTE:
I have no problem uploading the file or reading the contents of the file or any of the obvious steps involved there. The issue I have is that I don’t know the best way to accomplish the data persistence between views using MVC3.

Thanks in advance for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:30:56+00:00Added an answer on May 20, 2026 at 4:30 am

    Once you parse the CSV file into a model you could store this model into the Session so that if the user chooses “Yes” you would fetch the model from the session and persist it to the database. If you don’t want to store large quantities of data into the session you could always save the model into some temporary file on disk and store only the path to this temporary file into the Session so that you could retrieve it later.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question relates to an ASP.NET website, originally developed in VS 2005 and now
This question relates to ASP.NET MVC 2 RC (December drop). The basic problem is
Greetings, The question relates to ASP.NET MVC I am creating some divs dynamically using
This question is directly related to my previous question ASP.NET AJAX Is it possible
This question is related to my ASP.NET MVC 2 development, but it could apply
I am using ASP.NET MVC 2 & 3 with aspx View not Razor View,
Background: This question relates to versions of Delphi below 2009 (ie without Unicode support
I know this is not a real programming question. But, it relates to programming
In my ASP.NET MVC site, part of a feature allows the user to enter
I am working in asp.net MVC2 application and I have question related to design

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.