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

The Archive Base Latest Questions

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

I am NEW in MVC3 so bear with me here. I went through this

  • 0

I am NEW in MVC3 so bear with me here. I went through this link to start learning MVC3:
ASP.NET MVC3 Tutorial

I created everything alright. Now I want to go one step ahead with LINQ. In my UserModel class (as in this example) I created this code in another class inside this called User where there is implementation of Adding, Deleting, Editing.

 DataDataContext dt = new DataDataContext();
            var q = from a in dt.GetTable<Entity>()
                    select a;

‘Data’ is the DBMLconnection for LINQ. And Entity is the table.

Now how should I select selective columns in the table (Entity) to my view? Any answers or links will be appreciated! Thank you 🙂

  • 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-20T14:59:55+00:00Added an answer on May 20, 2026 at 2:59 pm

    I think you should start with:

    http://www.asp.net/mvc/tutorials/mvc-music-store-part-1

    In your code. Pass first the entity to your linq.

    Then after that in your Controller right click return view(q) and then click add view and select details.

    Regards

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

Sidebar

Related Questions

I am slightly new to .net development, so bear with me here. I created
Using ASP.Net C# with MVC3 Here is my insert code. var fInfo = new
I am new in MVC3. When i create a new default ASP.NET MVC 3
.NET/MVC3 newbie, so please bear with me! I've searched for this answer all over
I have created a new MVC3 project and used the ADO.NET Entity Data Model
As I have been following a MusicStore tutorial, new MVC3 project created a following
im working with a new ASP.NET MVC3 project and it seems like im missing
I am new to MVC3. In asp.net user control, its fairly easy to create
I'm building a new Asp.Net MVC3 solution and would like to have all the
I have tried everything, even uninstalling asp.net mvc3, and I can't get HandleError global

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.