473,513 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

This works but.....

select SLSMN, sum(SALESAMT) from yourtable Group By SLSMN

will work when pulling data from a SQL database table. It totals all
salesman's sale amounts and groups it by them.

How could I acomplish this in a datatable where I have already added the
rows but without having to send the rows to the database?
Nov 20 '05 #1
3 972
"scorpion53061" <sc************@yahoo.com> schrieb
select SLSMN, sum(SALESAMT) from yourtable Group By SLSMN

will work when pulling data from a SQL database table. It totals
all salesman's sale amounts and groups it by them.

How could I acomplish this in a datatable where I have already added
the rows but without having to send the rows to the database?


This is not a VB.NET language question, so please turn to
microsoft.public.dotnet.framework.adonet.
--
Armin

Nov 20 '05 #2
"scorpion53061" <sc************@yahoo.com> schrieb:
select SLSMN, sum(SALESAMT) from yourtable
Group By SLSMN

will work when pulling data from a SQL database
table.


This is a VB.NET language group. Please turn to the ADO.NET newsgroup:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet>

Web interface:

<http://msdn.microsoft.com/newsgroups...ups/loadframes
..asp?icp=msdn&slcid=us&newsgroup=microsoft.public .dotnet.framework.adonet>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
You are right of course and I apologize.

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
"scorpion53061" <sc************@yahoo.com> schrieb
select SLSMN, sum(SALESAMT) from yourtable Group By SLSMN

will work when pulling data from a SQL database table. It totals
all salesman's sale amounts and groups it by them.

How could I acomplish this in a datatable where I have already added
the rows but without having to send the rows to the database?


This is not a VB.NET language question, so please turn to
microsoft.public.dotnet.framework.adonet.
--
Armin

Nov 20 '05 #4

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

Similar topics

1
1331
by: Randy Weber | last post by:
I have a page with two frames, 'header' and 'main'. The following code works in Netscape, but in Internet Explorer. The second bgColor line produces an error: function test(){...
2
2681
by: deko | last post by:
Has anyone been able to import data from Claris Works into Access 2002? Is it simply a matter of exporting the Claris Works data into a comma delimited file and mapping the fields? Thanks in...
1
1454
by: | last post by:
I got about half way through a project using Access from Microsoft Office when they decided they wanted to use Works instead. I looked at the db in works and it looks woefully inadequate. I could...
4
1774
by: craigkenisston | last post by:
Looking for Internet Componets : anything comparable to IP Works? Hi, I need a suite of components that provided me with SMPT, POP3, NNTP, Telnet and Ping protocols. I have been looking and...
1
1753
by: thubba2000 | last post by:
We have a web application developed using IBuySpy. In older versions, Autocomplete on all web forms works. In our latest version, it stopped working on all clients. I have gone through all the...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
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
7553
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
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3247
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.