Loading

how to SUM all data in datagrid

8 posts / 0 new
Last post
edinmacho's picture
Offline
Joined: 08/11/2009
how to SUM all data in datagrid

I have poblem to sum all data from data grid can you help me

admin's picture
Offline
Joined: 11/14/2008
re: how to SUM all data in datagrid

Are you sure all the data in datagrid? Or just a column?

Anonymous
sum data on datagrid column

please help me to sum data on my datagrid column.

Offline
Joined: 11/09/2009
hi

you can use the sum function in the sql command
sample:

dim rssum as new adodb.recordset
rssum.open "select sum(data) as total from table1"
text1.text = rssum!data

you can also use where clause..
you can try this one hope this can help you...

Anonymous
re: how to SUM all data in datagrid

sum of all the rows in the data grid
to know how many rows in there sir

Anonymous
re: how to SUM all data in datagrid

all the rows sir..
to sum it all
as a report in the database

Anonymous
total column..

how to sum specific column...example the total number of order by the customer...

cast out's picture
Offline
Joined: 12/03/2009
sum ?

sum all the data in the data grid ? or by column?

no one can beat yourself except you . :D

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.