Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to combine byte array with sql command Pin
amit_8318-May-10 18:57
professionalamit_8318-May-10 18:57 
AnswerRe: How to combine byte array with sql command Pin
Alden.Gao18-May-10 23:24
Alden.Gao18-May-10 23:24 
AnswerRe: How to combine byte array with sql command Pin
Erich Ledesma19-May-10 1:44
Erich Ledesma19-May-10 1:44 
QuestionWorking on with word files Pin
CodingLover18-May-10 18:09
CodingLover18-May-10 18:09 
AnswerRe: Working on with word files Pin
Christo66718-May-10 23:04
Christo66718-May-10 23:04 
AnswerRe: Working on with word files Pin
CodingLover19-May-10 17:41
CodingLover19-May-10 17:41 
GeneralRe: Working on with word files Pin
Christo66720-May-10 2:27
Christo66720-May-10 2:27 
QuestionHow to binding TreeView to Unlimit Category? Pin
yuzifu18-May-10 17:00
yuzifu18-May-10 17:00 
I have a class like this:
<pre>
public class EmpCtg
{
public int ID { get; set; }
public string Name { get; set; }
public EmpCtg Parent { get; set; }
}
</pre>
Collection of this class:
<pre>
List&lt;EmpCtg&gt; ListEmpCtg = //....get list<empctg>
</empctg></pre>
I want binding ListEmpCtg to TreeView, and show look like this:
<pre>
EmpolyeeCategory
|
---------Ctg1
|
|
---------Ctg2
| |
| |
| --------Ctg3
| |
| |
| --------Ctg4
| |
| |
| --------Ctg5
.
.
.
</pre>
I know that I can write in the code by hand, but I would like to know whether to use DataTemplate?

What should I do?

Thanks!
AnswerRe: How to binding TreeView to Unlimit Category? Pin
Christo66718-May-10 23:09
Christo66718-May-10 23:09 
Questionplease help me!, delete error of the image files(attached source code) Pin
sonic74718-May-10 15:06
sonic74718-May-10 15:06 
AnswerRe: please help me!, delete error of the image files(attached source code) Pin
Yusuf18-May-10 15:33
Yusuf18-May-10 15:33 
AnswerRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 15:33
sitebuilderLuc Pattyn18-May-10 15:33 
AnswerRe: please help me!, delete error of the image files(attached source code) [modified] Pin
Dr.Walt Fair, PE18-May-10 15:46
professionalDr.Walt Fair, PE18-May-10 15:46 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 16:16
sitebuilderLuc Pattyn18-May-10 16:16 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Dr.Walt Fair, PE18-May-10 16:30
professionalDr.Walt Fair, PE18-May-10 16:30 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Luc Pattyn18-May-10 16:31
sitebuilderLuc Pattyn18-May-10 16:31 
GeneralRe: please help me!, delete error of the image files(attached source code) Pin
Dr.Walt Fair, PE18-May-10 18:12
professionalDr.Walt Fair, PE18-May-10 18:12 
QuestionMy LCD doesnt show anything? [modified] Pin
THeKiNG2018-May-10 14:54
THeKiNG2018-May-10 14:54 
AnswerRe: My LCD doesnt show anything? Pin
Yusuf18-May-10 15:34
Yusuf18-May-10 15:34 
GeneralRe: My LCD doesnt show anything? Pin
THeKiNG2018-May-10 15:39
THeKiNG2018-May-10 15:39 
AnswerRe: My LCD doesnt show anything? Pin
Luc Pattyn18-May-10 15:37
sitebuilderLuc Pattyn18-May-10 15:37 
GeneralRe: My LCD doesnt show anything? Pin
THeKiNG2018-May-10 15:40
THeKiNG2018-May-10 15:40 
AnswerRe: My LCD doesnt show anything? Pin
THeKiNG2019-May-10 9:36
THeKiNG2019-May-10 9:36 
QuestionQuery users in Security Tab from an AD member Pin
Scolo18-May-10 11:10
Scolo18-May-10 11:10 
QuestionOpening IE7 without menus or an address bar Pin
Melanie Peterson18-May-10 11:04
Melanie Peterson18-May-10 11:04 

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.