tag:blogger.com,1999:blog-8980734269859237005.post5776037548738204766..comments2024-01-30T01:03:21.768-08:00Comments on DevCurry: How to Add a Total Column to the ASP.NET ListViewSuprotim Agarwalhttp://www.blogger.com/profile/08349831623922214390noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8980734269859237005.post-35449285168847752022018-01-10T08:07:10.281-08:002018-01-10T08:07:10.281-08:00Nice Article Format! Nice Article Format! Mike Guerrahttps://www.blogger.com/profile/16301823062956462208noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-65998952781696852532014-08-22T08:11:04.616-07:002014-08-22T08:11:04.616-07:00create datapager and label in listview and write t...create datapager and label in listview and write the below code in C# after listview1.databind();<br />DataPager dp = ((DataPager)lvArrivalStatus.FindControl("dpArrivalStatusTop"));<br />lblArrivalCount.Text = Convert.ToString(dp.TotalRowCount);Sikihttps://www.blogger.com/profile/16909849950523871117noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-70734890265099065772011-11-28T04:26:46.810-08:002011-11-28T04:26:46.810-08:00How come you got
protected void lvProducts_DataBo...How come you got <br />protected void lvProducts_DataBound(object sender, ListViewItemEventArgs e)<br /><br />in my ASP project in listview Databound has this signature<br /><br /> protected void LVShipment_DataBound(object sender, EventArgs e)Anand Manmohan Bohrahttps://www.blogger.com/profile/02587594007247525258noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-79847747057270941752009-03-23T12:26:00.000-07:002009-03-23T12:26:00.000-07:00Ok..I got it to work when I apply code to my origi...Ok..I got it to work when I apply code to my original project and not the Northwind example.<BR/><BR/>What's the most efficient way to do multiple columns? The code works for the first column, but I need the other 11 columns to calculate as well.<BR/><BR/>I can copy the code twelve times, which I think is tedious. <BR/><BR/>Thanks,<BR/>HuttyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-16318447715028546122009-03-23T10:54:00.000-07:002009-03-23T10:54:00.000-07:00Nice article.I am getting the error "object not se...Nice article.<BR/><BR/>I am getting the error "object not set an instance of object" for the following code: lblTot.Text = totl.tostring()<BR/><BR/>I believe tot1.tostring() is causing the error. I can see that tot1 has a sum of the rows.<BR/><BR/>Am I missing something?<BR/>Thanks,<BR/>huttyAnonymousnoreply@blogger.com