|
-
Jan 20th, 2004, 11:25 PM
#1
Thread Starter
Addicted Member
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.
-
Jan 31st, 2004, 02:15 AM
#2
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|