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 6030303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:01:01+00:00 2026-05-23T05:01:01+00:00

I have an ASP.NET ‘traditional’ WebForms application and have just started exploring MVC 3,

  • 0

I have an ASP.NET ‘traditional’ WebForms application and have just started exploring MVC 3, which is running within this project. Many of the existing WebForms pages build data structures such as DataViews and DataTables. My question is, how does one pass, for example a complex structure such as a DataTable to an MVC Controller?

  • 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-23T05:01:02+00:00Added an answer on May 23, 2026 at 5:01 am

    You shouldn’t pollute an ASP.NET MVC application with things like DataSets and DataTables. You should use strongly typed models. As far as passing complex models to an ASP.NET MVC controller action is concerned, the default model binder uses some simple rules about how the request parameters should look like. Here’s a blog post which illustrates some of them. And you could also POST complex objects as JSON format.

    But in your particular case what I would recommend you doing is having the classic ASP.NET WebForms application pass just some id or a couple of arguments which would allow the ASP.NET MVC application use a repository layer and fetch the required data as a form of strongly typed models.

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

Sidebar

Related Questions

We have ASP.NET MVC 3 application which is integrated with Google Checkout API .
I have ASP.NET MVC application with action which should process posted XML data. At
I have ASP.NET MVC web application. I need to deploy it which consists of:
I have asp.net mvc 2 application. Now I'm reimplementing it for working with Ninject
I have ASP.NET MVC application that has list with jQuery Selectable list. My problem
I have ASP.NET application which allows users to download a file when he/she enters
I have ASP.NET MVC 3 application having resource files in english and french .
I have asp.net 4 webforms website which references PortableLibrary project. In the website I
I have ASP.NET MVC Beta on our web server running a few apps. My
i have asp.net mvc application where my model has a relation like Question can

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.