Want to build the ChatGPT based Apps? Start here
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Pooja Chowdhury
1.7k
396
33.6k
pagination in mvc without using entity framework
Jan 28 2017 12:46 AM
@using (Html.BeginForm("MemberDetails", "Member", FormMethod.Post))
{
<table>
<tr>
<td>
@Html.ActionLink("Search By Phone Number ", "InsertMobile")
</td>
</tr>
</table>
<table style="width: 100%">
<tr>
<th>Screen Name</th>
<th>Mobile Number</th>
<th>SmsBalance</th>
</tr>
@{
for (int i = 0; i < Model.StoreAllData.Tables[0].Rows.Count; i++)
{
var MemberId = Model.StoreAllData.Tables[0].Rows[i]["MemberId"].ToString();
var ScreenName = Model.StoreAllData.Tables[0].Rows[i]["ScreenName"].ToString();
var MobileNo = Model.StoreAllData.Tables[0].Rows[i]["MobileNo"].ToString();
var SmsBalance = Model.StoreAllData.Tables[0].Rows[i]["SmsBalance"].ToString();
<tr>
<td>
@ScreenName
</td>
<td>
@MobileNo
</td>
<td>
@SmsBalance
</td>
</tr>
}
}
</table>
}
i want to add paging for this design
Reply
Answers (
1
)
Set timer on Start botton click
grid view operations