Re: how to show totalrows
Hello erum,erum public IEnumerable<TBL_inbox> inbox { get; set; } Assuming you want to show Total Count of items in inbox just use @Model.inbox.Count() if they are different I mean the count and...
View ArticleRe: how to show totalrows
Hi,It might not work because you have an IEnumerable. Can't you use an List ?
View ArticleRe: how to show totalrows
well I changed my code this@model BootstrapHelloworld.Models.InboxViewModel @{ ViewBag.Title = "My Inbox"; }<link href="~/Bootstrap/css/bootstrap.min.css" rel="stylesheet"><script...
View ArticleRe: how to show totalrows
thanks for ur reply ..but let me specific my model name isusing System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace...
View ArticleRe: how to show totalrows
Hi, Your query works, correct? You're filling the TotalRows property in your model Model.inbox ? It has the correct total rows ? If is true, you just have to write it on your view:Total items:...
View Articlehow to show totalrows
i have following query ds = ts.SelectQueryDS(";WITH CTE AS (select u.username,i.* from tbl_inbox i inner join tbl_user u on i.fromuserid = u.id and touserid=2 AND DELETED=0)SELECT *,...
View Article
More Pages to Explore .....