Search code examples
c#.netwinformslinkbutton

listing the category names in winforms like in web applications


i have datagrid view with products the datagrid view will be loaded according to the categories selection on the left hand side of form that have in datagrid view ...

I am in big trouble, as per client requirement is it possible to list the categories names like this in winform applications...(see the below image)

I know it is possible in web appliactions by using link buttons like that ..i dont know whether it is possible in windows type of apps ...

and i want to add the price range typesbelow that categories in same panel and i want to use these ones also as link buttons

Example: if i click one category name 1 the product list will be displayed in datagridview according to that category name...

that .....

NOte :the category names will be comes from database.. and this box will be placed in left side of windows form (like web applications ecommerce apps) enter image description here

would any one pls help on this......


Solution

  • Whatever is possible in a web app is usually possible in winforms too...

    For help with getting the display right, you can use ListView with grouping:

    http://msdn.microsoft.com/en-us/library/ezh1batz.aspx