Click here to Skip to main content
15,917,731 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:40
Polis Pilavas22-Apr-05 10:40 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:51
wetdog50022-Apr-05 10:51 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:53
Polis Pilavas22-Apr-05 10:53 
GeneralRe: Saving image Pin
jinzhecheng23-Apr-05 9:00
jinzhecheng23-Apr-05 9:00 
GeneralCool: MessageBox.Show(3.1415927.ToString()); Pin
Member 9622-Apr-05 8:04
Member 9622-Apr-05 8:04 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 8:28
turbochimp22-Apr-05 8:28 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:18
DavidNohejl22-Apr-05 9:18 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 9:38
turbochimp22-Apr-05 9:38 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:44
DavidNohejl22-Apr-05 9:44 
Generalcombox in property grid Pin
jinzhecheng22-Apr-05 7:00
jinzhecheng22-Apr-05 7:00 
Generalwindow service Pin
hareluya22-Apr-05 5:58
hareluya22-Apr-05 5:58 
GeneralRe: window service Pin
John Fisher22-Apr-05 8:00
John Fisher22-Apr-05 8:00 
GeneralIs it worth to download VS2005 Express Beta2 Pin
Anonymous22-Apr-05 5:12
Anonymous22-Apr-05 5:12 
GeneralRe: Is it worth to download VS2005 Express Beta2 Pin
Carl Mercier22-Apr-05 9:11
Carl Mercier22-Apr-05 9:11 
QuestionA question no one has asked ??? Pin
LongRange.Shooter22-Apr-05 5:08
LongRange.Shooter22-Apr-05 5:08 
AnswerRe: A question no one has asked ??? Pin
Dave Kreskowiak22-Apr-05 5:36
mveDave Kreskowiak22-Apr-05 5:36 
GeneralRe: A question no one has asked ??? Pin
LongRange.Shooter25-Apr-05 8:13
LongRange.Shooter25-Apr-05 8:13 
GeneralTreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 4:14
billoo22-Apr-05 4:14 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 7:41
John Fisher22-Apr-05 7:41 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 8:24
billoo22-Apr-05 8:24 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 8:37
John Fisher22-Apr-05 8:37 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 9:49
billoo22-Apr-05 9:49 
I am using a three state check box. When a user clicks on a node, I recursively set the CheckState property of the children nodes and parent nodes appropriately. My second option (pressing the save button and committing changes to the DB once) is more suited here as that will take only one round trip call to the database.

John, could you demonstrate by some example how one would update the local data table and the CheckState value in the nodes?

In order in order to successfully record all the changes in the nodes to the data table, I'll loop through all the nodes and copy the CheckState value to the data table. Basically, I have to traverse the entire tree, starting with the root. Is that how you are envisioning?

BTW, I am setting the tag property as I am constructing the nodes, as you suggested.

Help appreciated.

Thanks again
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 10:30
John Fisher22-Apr-05 10:30 
GeneralSimple Mime / mail messages Pin
ColinBashBash22-Apr-05 4:14
ColinBashBash22-Apr-05 4:14 
GeneralRe: Simple Mime / mail messages Pin
ColinBashBash25-Apr-05 4:00
ColinBashBash25-Apr-05 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.