Question summation of one column

Spartacus

New member
Joined
Feb 15, 2013
Messages
3
Programming Experience
Beginner
dear all
may database name is T2 has table called table 3 and the table 3 has column named Qty in
how can retrieve the summation of column Qtyin and the display the result in textbox1

best regards
 
As you've posted this in the LINQ forum, I'm going to assume that you are using LINQ to SQL or LINQ to Entities (Entity Framework) for data access. In that case you query that table and select just that column and then call the Sum method of your query result. You can display that number in a TextBox like you would any other number.
 
Back
Top