Click here to Skip to main content
15,890,512 members
Home / Discussions / Database
   

Database

 
GeneralUpdate Question Pin
rudemusik22-Apr-05 11:43
rudemusik22-Apr-05 11:43 
GeneralRe: Update Question Pin
Yulianto.22-Apr-05 19:25
Yulianto.22-Apr-05 19:25 
Generalequivalent to OFFSET Pin
Drew Stainton22-Apr-05 11:08
Drew Stainton22-Apr-05 11:08 
GeneralRe: equivalent to OFFSET Pin
Colin Angus Mackay22-Apr-05 11:55
Colin Angus Mackay22-Apr-05 11:55 
GeneralRe: equivalent to OFFSET Pin
Drew Stainton22-Apr-05 13:22
Drew Stainton22-Apr-05 13:22 
GeneralAlternative to dynamic sp's Pin
totig22-Apr-05 2:16
totig22-Apr-05 2:16 
GeneralRe: Alternative to dynamic sp's Pin
Mike Dimmick22-Apr-05 3:51
Mike Dimmick22-Apr-05 3:51 
GeneralTreeView--Treenode with a Checkbox bound to database Pin
billoo21-Apr-05 19:14
billoo21-Apr-05 19:14 
I have a treeview control. I was able to generate the tree nodes for this treeview control by reading the structure of the tree from a database table. At each treenode, I show a check box (CheckBoxes is true). On the Sql Server Side, I have a table which has the following structure:

TreeStruct (NodeID int, NodeDesc varchar(50), NodeState tinyint)

This table is pre populated with information in the order in which the tree will be constructed.

I want to be able to do the following:

(a) whenever the CheckState property changes (i.e., a user Checks/Unchecks a node, I want to commit the change to the database
(b) Let the user make as many changes as possible to the Checkboxes, which will change the CheckState property of the nodes. When the user is done, he/she can press the save button, and all these changes will be written to the database.

I am not sure how to bind the data I read from the database to the TreeNode(s) so that I can make the above two things happen.

Help appreciated.
GeneralSQL Server Express Install Pin
RChin21-Apr-05 6:41
RChin21-Apr-05 6:41 
GeneralRe: SQL Server Express Install Pin
Jerry Hammond22-Apr-05 2:50
Jerry Hammond22-Apr-05 2:50 
GeneralRe: SQL Server Express Install Pin
RChin22-Apr-05 6:25
RChin22-Apr-05 6:25 
GeneralUsing mysql database Pin
Sasuko21-Apr-05 6:21
Sasuko21-Apr-05 6:21 
GeneralTable design for storing email address Pin
Raghunandan S20-Apr-05 17:30
Raghunandan S20-Apr-05 17:30 
GeneralRe: Table design for storing email address Pin
Anonymous21-Apr-05 10:39
Anonymous21-Apr-05 10:39 
GeneralExtract Create Index Script Pin
-Dr_X-20-Apr-05 11:40
-Dr_X-20-Apr-05 11:40 
GeneralSQL execution path question Pin
Judah Gabriel Himango20-Apr-05 9:12
sponsorJudah Gabriel Himango20-Apr-05 9:12 
GeneralRe: SQL execution path question Pin
Andy Brummer20-Apr-05 9:53
sitebuilderAndy Brummer20-Apr-05 9:53 
GeneralRe: SQL execution path question Pin
Colin Angus Mackay20-Apr-05 9:55
Colin Angus Mackay20-Apr-05 9:55 
GeneralRe: SQL execution path question Pin
-Dr_X-21-Apr-05 5:59
-Dr_X-21-Apr-05 5:59 
GeneralInserting at a specific row Pin
Esmo200020-Apr-05 8:29
Esmo200020-Apr-05 8:29 
GeneralRe: Inserting at a specific row Pin
Colin Angus Mackay20-Apr-05 9:06
Colin Angus Mackay20-Apr-05 9:06 
GeneralA sytax question Pin
Esmo200020-Apr-05 8:05
Esmo200020-Apr-05 8:05 
GeneralRe: A sytax question Pin
Colin Angus Mackay20-Apr-05 9:08
Colin Angus Mackay20-Apr-05 9:08 
GeneralExecuting an UPDATE for each record returned by a SELECT Pin
Luis Alonso Ramos20-Apr-05 6:09
Luis Alonso Ramos20-Apr-05 6:09 
GeneralRe: Executing an UPDATE for each record returned by a SELECT Pin
Colin Angus Mackay20-Apr-05 7:23
Colin Angus Mackay20-Apr-05 7:23 

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.