TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
amir mohammadi
NA
8
823
Classification Html Table in ASP.net MVC
Mar 7 2018 3:24 PM
Hello
I have a list of Data the passed into my View
in View , It show Data like this Picture . each data in 1 row :
I want to Divide Data result in 3 column across from other Like This Picture
my code is :
<table>
@{
foreach (
var
item
in
Model)
{
int
aa = Convert.ToInt32(item.Number);
<tr>
<td
class
=
"tg-baqh"
><a href=
"/Home/Fehrest/@item.Section_ID"
>@item.Number</a></td>
<td
class
=
"tg-baqh"
>@item.Name</td>
<td
class
=
"tg-baqh"
>@Html.ActionLink(
"edit"
,
"EditSection"
,
new
{ id = item.Section_ID })</td>
</tr>
}
}
</table>
Please Help me
Reply
Answers (
2
)
Calling a function from repository to controller in asp.net
How to Import data to sql from Excel data table by c#