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
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.