Click here to Skip to main content
15,922,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
"select Productname,Productcode,Productexpirydate,sellingquantity from counterproductdetail GroupBy Productname where Productname like'" + textBox1.Text + "' ";


in this i want to use group by by which i can calculate output according to productname
Posted

1 solution

"select Productname,Productcode,Productexpirydate,sellingquantity from counterproductdetail where Productname like'" + textBox1.Text + "' GroupBy Productname ";
try like this
 
Share this answer
 
Comments
Member 10426233 4-Dec-13 3:21am    
thanku

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900