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

We've recently run into an issue with our ASP.NET application where if a user
This question relates to: PHP Version 5.3.6 Microsoft Drivers for PHP for SQL Server
I found this thread here: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=16836 I have exactly the same problem. Quote: Rob
Using one of the C# implementations of BCrypt to hash passwords and store them
Example 1: <asp:Panel Visible=false runat=server> <asp:TextBox ID=textbox runat=server /> </asp:Panel> Here, textbox.Visible returns false
I have a client that runs a small business. They need a custom database
Note up front, my question turns out to be similar to SO question 1668172
I am designing a Web application that we estimate may have about 1500 unique
I'm developing a public web site in vs2010, can I keep the authentication as
I have inherited a large existing website to maintain. Previous developers have taken an

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.