我有XML文件:
<?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>
我有UserControl:
我有一个FlowLayoutPanel,它有一个FlowDirection(TopDown)
我需要让程序在FlowLayoutPanel中添加新的UserControl,并在XML文件中添加信息 Examble: 该程序将在Panel中添加3个UserControl
UserControl1 = <Name id="1">
UserControl2 = <Name id="2">
UserControl3 = <Name id="3">
...等
我该怎么做?
答案 0 :(得分:0)
试试这个
ALTER COLUMN `YourColumn` datetime2() DEFAULT NULL