Click here to Skip to main content
15,889,200 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:03
mvePete O'Hanlon23-Oct-07 2:03 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:19
sindhutiwari23-Oct-07 2:19 
GeneralRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:26
mvePete O'Hanlon23-Oct-07 2:26 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:30
sindhutiwari23-Oct-07 2:30 
GeneralRe: Converting Image to Object Pin
Pete O'Hanlon23-Oct-07 2:34
mvePete O'Hanlon23-Oct-07 2:34 
GeneralRe: Converting Image to Object Pin
sindhutiwari23-Oct-07 2:50
sindhutiwari23-Oct-07 2:50 
QuestionOutlook add in is not loading in client machine Pin
pritesh_patel23-Oct-07 1:28
pritesh_patel23-Oct-07 1:28 
Questiontreeview nodes from sql server Pin
NewToAspDotNet23-Oct-07 0:34
NewToAspDotNet23-Oct-07 0:34 
Hi everyone,
i have a treeview and a sqlserver table called companies. with company id, name, adress, and departments. I have the following code to set the company names in the treeviewnodes:

foreach (DataRow mydr in Sql.mydt.Rows)
{
treeView1.Nodes.Add(new TreeNode(mydr["Dep_comp_name"].ToString()));
}

now how can i set the departments(belonged to the company names) as childnodes to the companyname nodes ?
thanx.
AnswerRe: treeview nodes from sql server Pin
pmarfleet23-Oct-07 1:08
pmarfleet23-Oct-07 1:08 
GeneralRe: treeview nodes from sql server Pin
NewToAspDotNet23-Oct-07 1:54
NewToAspDotNet23-Oct-07 1:54 
GeneralRe: treeview nodes from sql server Pin
pmarfleet23-Oct-07 2:12
pmarfleet23-Oct-07 2:12 
AnswerRe: treeview nodes from sql server Pin
Pete O'Hanlon23-Oct-07 2:08
mvePete O'Hanlon23-Oct-07 2:08 
GeneralRe: treeview nodes from sql server Pin
NewToAspDotNet23-Oct-07 2:17
NewToAspDotNet23-Oct-07 2:17 
QuestionUsing resource Pin
alexia_teh23-Oct-07 0:03
alexia_teh23-Oct-07 0:03 
AnswerRe: Using resource Pin
kenprog23-Oct-07 15:15
kenprog23-Oct-07 15:15 
QuestionDynamic Textbox controll Pin
pashitech23-Oct-07 0:01
pashitech23-Oct-07 0:01 
AnswerRe: Dynamic Textbox controll Pin
sujithkumarsl23-Oct-07 1:58
sujithkumarsl23-Oct-07 1:58 
QuestionPanel scrolling Pin
blackjack215022-Oct-07 23:58
blackjack215022-Oct-07 23:58 
AnswerRe: Panel scrolling Pin
Harini N K23-Oct-07 0:05
Harini N K23-Oct-07 0:05 
GeneralRe: Panel scrolling Pin
blackjack215023-Oct-07 0:40
blackjack215023-Oct-07 0:40 
GeneralRe: Panel scrolling Pin
Ajay.k_Singh23-Oct-07 1:58
Ajay.k_Singh23-Oct-07 1:58 
GeneralRe: Panel scrolling Pin
blackjack215023-Oct-07 5:16
blackjack215023-Oct-07 5:16 
QuestionRunning Multiple ex's using single object of Process Class Pin
Neeraj Kr22-Oct-07 23:53
Neeraj Kr22-Oct-07 23:53 
QuestionThe case of the disappearing combo box Pin
jozsurf22-Oct-07 23:49
jozsurf22-Oct-07 23:49 
QuestionHow to initialize a nullable array object at runtime? Pin
Spunky Coder22-Oct-07 23:18
Spunky Coder22-Oct-07 23:18 

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.