Click here to Skip to main content
15,888,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi I am doing a point of sale system,I have design the sales page to add product that were purchased by the customer....now I want to know how can I display(using list box) for each product information in different columns and to calculate the total for all products ...

hope anyone can help me sooner.
this is my code so far(view and a product to be searched)
C#
[HttpGet]
public ActionResult Search()
{
    return View();
}

private IEnumerable<product> Valid(string code)
{
    var result = from x in db.Products
    where x.ProductCode == code
    select x;

    return result.ToList();
}
Posted
Updated 7-Apr-13 21:08pm
v3
Comments
njabu 8-Apr-13 4:20am    
sure bro..i want to display using list box

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