how to implement expand/collapse like +/- in datagrid using windows application

Posted on 2006-05-09
Last Modified: 2012-06-27
how to implement expand/collapse like +/- in datagrid using windows application
Question by:reval1
    1 Comment
    LVL 19

    Accepted Solution

    What do you mean by +/-
    If you want to show a Hierarchical data then you need to define a RelationShip between two tables, in that case you'd get +/-

    For eg. you have a Dataset with two tabels say Department and Employee
    Now if there's a relationShip defined between the Department's DeptID column and Employee's DeptID column and set to the dataset.Relations object
    then the +/- would come

    Hope that's what you wanted

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now