Results 1 to 2 of 2

Thread: how to create an unbound datagridboolcolumn

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145

    how to create an unbound datagridboolcolumn

    Hi all,

    I'm trying to create a datagrid which has 1 bound column and 1 unbound column. The bound column is a datagridtextboxcolumn and the unbound is datagridboolcolumn, which will appear as a checkbox.

    The datagrid is consists of a listings of all branch names. I also have a textbox for userid. The user will select from the list of branches by checking the checkbox opposite the branch name. This will be a master-detail type. When saved, this will result to:

    userid branchname
    userid branchname
    userid branchname

    My question is how do I create an unbound datagridboolcolumn? The checkbox only appears if I bind to a dataset.

    Please help.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    http://www.syncfusion.com/faq/winforms/

    has an example of how to do this, but it is written in C#

    however the basic approach, is load your dataset and then add a column to the dataset and create a tablestyle for the display in the datagrid.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width