Click here to Skip to main content
16,015,900 members
Home / Discussions / C#
   

C#

 
GeneralRe: Item Databound Pin
Ersan Ercek23-Oct-09 4:29
Ersan Ercek23-Oct-09 4:29 
Questioninstaller to install is SQL Server 2005 Express Edition Pin
Member 180672423-Oct-09 3:00
Member 180672423-Oct-09 3:00 
AnswerRe: installer to install is SQL Server 2005 Express Edition Pin
Searril23-Oct-09 3:36
Searril23-Oct-09 3:36 
QuestionTreeView in C# Pin
silva10323-Oct-09 2:53
silva10323-Oct-09 2:53 
AnswerRe: TreeView in C# Pin
Henry Minute23-Oct-09 4:13
Henry Minute23-Oct-09 4:13 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 4:47
silva10323-Oct-09 4:47 
GeneralRe: TreeView in C# Pin
Henry Minute23-Oct-09 4:53
Henry Minute23-Oct-09 4:53 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 8:29
silva10323-Oct-09 8:29 
your detail you gave me is very useful for me to study more.
but
i just want to examine the tree bases on the node's text.
and i did it,yeaz.
here is my code:

TreeNode nodeTemp = node1.Nodes.Find(temp[0].ToString(), true);//temp[] is an String Array

if (nodeTemp.Length == 0)
{
TreeNode node2 = new TreeNode();
node2.Name = "Hello!";
node2.Text = "Hello!";
node1.Nodes.Add(node2);
}
But i have a problem with node's text display in TreeView screen:
if i assign the Text of node is:"Hello!" but it is displayed in screen:"!Hello"

what's wrong for me!
GeneralRe: TreeView in C# Pin
Henry Minute23-Oct-09 9:01
Henry Minute23-Oct-09 9:01 
GeneralRe: TreeView in C# Pin
silva10323-Oct-09 16:44
silva10323-Oct-09 16:44 
QuestionString split Pin
Sebastian T Xavier23-Oct-09 1:52
Sebastian T Xavier23-Oct-09 1:52 
AnswerRe: String split Pin
dan!sh 23-Oct-09 2:02
professional dan!sh 23-Oct-09 2:02 
AnswerRe: String split [modified] Pin
musefan23-Oct-09 2:42
musefan23-Oct-09 2:42 
GeneralRe: String split Pin
Sebastian T Xavier23-Oct-09 3:23
Sebastian T Xavier23-Oct-09 3:23 
GeneralRe: String split Pin
J4amieC23-Oct-09 4:09
J4amieC23-Oct-09 4:09 
QuestionDestructor peculiarity Pin
DaveyM6923-Oct-09 1:25
professionalDaveyM6923-Oct-09 1:25 
AnswerRe: Destructor peculiarity Pin
Pete O'Hanlon23-Oct-09 1:38
mvePete O'Hanlon23-Oct-09 1:38 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 2:20
professionalDaveyM6923-Oct-09 2:20 
GeneralRe: Destructor peculiarity Pin
Pete O'Hanlon23-Oct-09 2:25
mvePete O'Hanlon23-Oct-09 2:25 
GeneralRe: Destructor peculiarity Pin
Gideon Engelberth23-Oct-09 7:47
Gideon Engelberth23-Oct-09 7:47 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 9:44
professionalDaveyM6923-Oct-09 9:44 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 9:52
professionalDaveyM6923-Oct-09 9:52 
GeneralRe: Destructor peculiarity Pin
cmk23-Oct-09 5:21
cmk23-Oct-09 5:21 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 8:10
professionalDaveyM6923-Oct-09 8:10 
GeneralRe: Destructor peculiarity Pin
DaveyM6923-Oct-09 9:48
professionalDaveyM6923-Oct-09 9:48 

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.