Click here to Skip to main content
15,901,853 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Silverlight 3 Release... Pin
Mark Salsbery29-May-09 6:00
Mark Salsbery29-May-09 6:00 
GeneralRe: Silverlight 3 Release... Pin
Pete O'Hanlon29-May-09 8:41
mvePete O'Hanlon29-May-09 8:41 
QuestionNo EXE Generated [Resolved (but pissed off)] Pin
#realJSOP28-May-09 10:40
professional#realJSOP28-May-09 10:40 
QuestionRichTextBox UI elements animating?? Pin
_iobuf28-May-09 7:27
_iobuf28-May-09 7:27 
AnswerRe: RichTextBox UI elements animating?? Pin
_iobuf28-May-09 8:26
_iobuf28-May-09 8:26 
QuestionNeed help populating a treeview with XML Pin
Etienne_12328-May-09 6:34
Etienne_12328-May-09 6:34 
AnswerRe: Need help populating a treeview with XML Pin
Mark Salsbery28-May-09 11:22
Mark Salsbery28-May-09 11:22 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12328-May-09 11:50
Etienne_12328-May-09 11:50 
The thing is, I don't have a XML structure yet, I'm using a typed dataset which was generated for me by adding a datasource via the Visual Studio wizard, so I first have to generate a XML file from my typed dataset, and then bind it to the treeview. Here's a sample of what it might look like though:

<?xml version="1.0" standalone="yes" ?>
- <NewDataSet>
- <Products>
<ProductID>1</ProductID>
<ProductName>Chai</ProductName>
<SupplierID>1</SupplierID>
<CategoryID>1</CategoryID>
<QuantityPerUnit>10 boxes x 20 bags</QuantityPerUnit>
<UnitPrice>18</UnitPrice>
<UnitsInStock>39</UnitsInStock>
<UnitsOnOrder>0</UnitsOnOrder>
<ReorderLevel>10</ReorderLevel>
<Discontinued>false</Discontinued>
</Products>
- <Products>
<ProductID>2</ProductID>
<ProductName>Chang</ProductName>
<SupplierID>1</SupplierID>
<CategoryID>1</CategoryID>
<QuantityPerUnit>24 - 12 oz bottles</QuantityPerUnit>
<UnitPrice>19</UnitPrice>
<UnitsInStock>17</UnitsInStock>
<UnitsOnOrder>40</UnitsOnOrder>
<ReorderLevel>25</ReorderLevel>
<Discontinued>false</Discontinued>
</Products>
</NewDataSet>

This is obviously just a basic table showing some Products, the database I'm going to be using will have sub levels as well e.g. A Product(above) can have multple Parts assoiciated with it, so that needs to be shown within Product and for each Product
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12328-May-09 12:39
Etienne_12328-May-09 12:39 
GeneralRe: Need help populating a treeview with XML Pin
Mark Salsbery29-May-09 7:00
Mark Salsbery29-May-09 7:00 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12329-May-09 22:54
Etienne_12329-May-09 22:54 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12330-May-09 0:14
Etienne_12330-May-09 0:14 
QuestionHow to hook the ReadFile API like FileMon does. Pin
deadlyabbas28-May-09 1:05
deadlyabbas28-May-09 1:05 
AnswerRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 1:24
mvePete O'Hanlon28-May-09 1:24 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
deadlyabbas28-May-09 2:39
deadlyabbas28-May-09 2:39 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 2:55
mvePete O'Hanlon28-May-09 2:55 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Simon P Stevens28-May-09 3:11
Simon P Stevens28-May-09 3:11 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 3:38
mvePete O'Hanlon28-May-09 3:38 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
ABitSmart28-May-09 3:19
ABitSmart28-May-09 3:19 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
deadlyabbas30-May-09 5:49
deadlyabbas30-May-09 5:49 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon31-May-09 2:33
mvePete O'Hanlon31-May-09 2:33 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Mark Salsbery28-May-09 5:54
Mark Salsbery28-May-09 5:54 
QuestionHow to display RSS feed videos in the WPF page Pin
Nekkantidivya28-May-09 0:50
Nekkantidivya28-May-09 0:50 
QuestionUrgh! Spoke too soon! WPF w/MediaPlayer = Win32 Access Violation Pin
Jammer27-May-09 11:12
Jammer27-May-09 11:12 
AnswerRe: Urgh! Spoke too soon! WPF w/MediaPlayer = Win32 Access Violation Pin
Mark Salsbery27-May-09 11:20
Mark Salsbery27-May-09 11:20 

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.