Please refer this code.
HTML
<asp:DropDownList ID="ddlTables" runat="server" AutoPostBack="true">
<asp:ListItem Text="India" Value="INDIA_Id">
</asp:ListItem>
<asp:ListItem Text="PAKISTAN" Value="Pakistan_Id">
</asp:ListItem>
<asp:ListItem Text="SAUDIA ARABIA" Value="SAUDIAARABIA_Id">
</asp:ListItem>
</asp:DropDownList>
<hr />
<asp:Label ID="lblCountry" runat="server" />
<asp:TextBox ID="txtCountry" runat="server" />
XML
<?xml version="1.0" encoding="utf-8" ?>
<Validations>
<Pakistan>
<LABEL>
<Text>Pakistan</Text>
<Color>Green</Color>
</LABEL>
<TEXTBOX>
<Text>Pakistan</Text>
<Color>Green</Color>
<MaxLength>10</MaxLength>
</TEXTBOX>
</Pakistan>
<SAUDIAARABIA>
<LABEL>
<Text>SAUDIA ARABIA</Text>
<Color>Orange</Color>
</LABEL>
<TEXTBOX>
<Text>SAUDIA ARABIA</Text>
<Color>Orange</Color>
<MaxLength>20</MaxLength>
</TEXTBOX>
</SAUDIAARABIA>
<INDIA>
<LABEL>
<Text>INDIA</Text>
<Color>Blue</Color>
</LABEL>
<TEXTBOX>
<Text>INDIA</Text>
<Color>Blue</Color>
<MaxLength>30</MaxLength>
</TEXTBOX>
</INDIA>
</Validations>
Namespace
using System.Data;
C#
protected void Page_Load(object sender, EventArgs e)
{
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("~/XML/XMLFile.xml"), XmlReadMode.Auto);
DataTable dt1 = ds.Tables["LABEL"];
DataTable dt2 = ds.Tables["TEXTBOX"];
DataTable dtLabel = dt1.Select().Where(p => (p[this.ddlTables.SelectedItem.Value]) != DBNull.Value).CopyToDataTable();
DataTable dtText = dt2.Select().Where(p => (p[this.ddlTables.SelectedItem.Value]) != DBNull.Value).CopyToDataTable();
this.lblCountry.Text = dtLabel.Rows[0]["Text"].ToString();
this.lblCountry.Style["color"] = dtLabel.Rows[0]["Color"].ToString();
this.txtCountry.Text = dtText.Rows[0]["Text"].ToString();
this.txtCountry.Style["color"] = dtText.Rows[0]["Color"].ToString();
this.txtCountry.MaxLength = Convert.ToInt32(dtText.Rows[0]["MaxLength"]);
}
Screenshot