473,394 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help to make a total sum of datagrid

Hi,

Could someone help me

I have a form where i chose the customer
so i also have on this form a datagrid with with the invoices of this
customer i have shosen
Now: I want to have the sum a my textbox of the column "totals" from of the
invoices shown in the datagrid

Hope someone can help me...

thanks in advance,

Marc.


Nov 20 '05 #1
2 1417
Hi Booster,

Use the datatable.compute from the table which is the datasource of your
datagrid.

http://msdn.microsoft.com/library/de...mputetopic.asp
I hope this helps?

Cor
Nov 20 '05 #2
Hi Cor

Thanks
It helped me good with a little change
Works fine now

Marc.


"Cor Ligthert" <no**********@planet.nl> wrote in message
news:u$**************@TK2MSFTNGP12.phx.gbl...
Hi Booster,

Use the datatable.compute from the table which is the datasource of your
datagrid.

http://msdn.microsoft.com/library/de...mputetopic.asp

I hope this helps?

Cor

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jon | last post by:
I have a datagrid with a total row on the bottom. What is the best method to "instantly" update the total row when the value of any row changes. I am running into problems when I use the column...
0
by: buran | last post by:
Dear ASP.NET Users, How can I get the total number of rows selected by the command text of the datagrid (items in datagrid)? If I use the statement grdSP.Items.Count with the datagrid grdSP with...
2
by: brian richards | last post by:
The datagrid in my page always looks greyed out. But DataGrid.Enabled is set to true. It's never set to false. Is there any other way enabled may be set to false? Or maybe another reason other than...
1
by: Shalin Parmar | last post by:
hello I am a new bee in asp.net. I want to make a forum in my site which shows message posts and its total replies. So I had put treeview (IE Web Controls) in datagrid. I need help for that. How...
0
by: Kaushik Mandal | last post by:
Hi I am trying to make a ASP.NET report where I would like to show the Sum Total and the Grand total on the reports . I am trying to do this using SQL server ROLL UP function . But it does not...
1
by: uknees | last post by:
Hi, I am a little rusty with vb.net so, i hope anyone can help. I would like to know where i can get information on how to bind data to a datagrid programmatically and also bind and format the...
6
by: Coleen | last post by:
Hi All :-) Thanks for all of your help Cor :-) I can not get the code you sent me to work in my application. I'm using an aspx datagrid in a web form. I'm getting the following error message...
2
by: patang | last post by:
I found the following to count the total number of VISIBLE rows of datagrid datagrid.visiblerowcount How do we count the total number of ACTUAL (not just visible) rows of datagrid? Thanks...
1
by: methexandude | last post by:
Hi, I'm populating a datagrid with values and adding one of the columns to get a total. It adds up correctly but rounds off the values. For example if the total is 2.56789 it makes it three as a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.