Author: Chithra_Iyer | Posted on: 10/8/2010 4:32:42 PM | Views : 267

I need to create ASP.NET web page and controls dynamically based on an xml schema/ file. For example I have following file:
<?xml version="1.0" encoding="utf-8" ?>
<Fields>
  <Field ID="DeviceName" Text="Alpine" Rowid="1" Control="Textbox"></Field>
  <Field ID="DeviceType" Text="Audio" Rowid="2" Control="Textbox">
  <Field ID="Specification" Text="Spec" Rowid="3" Control="UserControl"></Field>
    <Validations>
      <Validation Type="Length" MaxValue="10" MinValue="0" WarningMessage="_Maximum length Exceeded"></Validation>
    </Validations>
  </Field>
</Fields> ...

Go to the complete details ...