i have XML File :
<?xml version="1.0" encoding="utf-8"?>
<!--XML Database.-->
<Disease>
<Name id="1">Info1
<SubArticle>Info1</SubArticle>
<MainArticle>Info1</MainArticle>
<Image>Info1</Image>
</Name>
<Name id="2">Info2
<SubArticle>Info2</SubArticle>
<MainArticle>Info2</MainArticle>
<Image>Info2</Image>
</Name>
<Name id="3">Info3
<SubArticle>Info3</SubArticle>
<MainArticle>Info3</MainArticle>
<Image>Info3</Image>
</Name>
</Disease>
and i have UserControl :
and i have a FlowLayoutPanel which have an FlowDirection (TopDown)
I need to make the program add new UserControl in the FlowLayoutPanel with the Information in the XML File Examble: The Program will add 3 UserControl in the Panel
UserControl1 = <Name id="1">
UserControl2 = <Name id="2">
UserControl3 = <Name id="3">
...etc
How can i do this ?
Try this