Click here to Skip to main content
13,093,720 members (60,015 online)
Rate this:
Please Sign up or sign in to vote.
See more:

Am new to mvc3. i wants to show list of records in view without using gridview or other plug-in such as jquery table and datatable.

Just by using html table . and also ADD,EDIT also has to do.

please some one help me. i have searched in google still i did't get ab idea.

Please some one help me


Posted 19-Oct-12 5:28am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

1) The GridView control is not a plug-in. It is a default usercontrol that is at your disposal. It will write the table for you and make your life much, much simpler. I would encourage you to use it.
2) If you really want to go through the pain of manually generating an html table by code-behind, then go ahead. You can create the html in your controller as a string and then assign the resulting string to the innerHtml of a span or div tag in your view.
kimberly wind 19-Oct-12 11:51am
i know the idea Marcus but i don't know how to do that coding
i have gone throw this link
but here they used jqury plugin
Marcus Kramer 19-Oct-12 12:16pm
As a question, why do you not want any jquery?
kimberly wind 19-Oct-12 11:52am
and also i did not mentioned gridview as plugin please read it .
kimberly wind 19-Oct-12 11:53am
without giving any coding or link u suppose not post is as solution you have says this under comments :) its not make sense in posting as answer
Marcus Kramer 19-Oct-12 12:16pm
I'm providing sound advice as to how it should be approached. That does not always require code snippets. Basically biting the hand that feeds you isn't a great approach from your side.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 19 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100