The following code works fine
Dim WorkRow As DataRow = dsOut.Tables("SearchRequest").NewRow()
WorkRow["Surname"] = m_forename
WorkRow("PostTown") = m_posttown
dsOut.Tables("SearchRequest").Rows.Add(WorkRow)
but I now wish to add
WorkRow["Forename"] = m_forename
where Forename is defined in the XSD as
<xsd:element name="Forename" minOccurs="0" maxOccurs="2" />
How do I add these two entries?
Dim WorkRow As DataRow = dsOut.Tables("SearchRequest").NewRow()
WorkRow["Surname"] = m_forename
WorkRow("PostTown") = m_posttown
dsOut.Tables("SearchRequest").Rows.Add(WorkRow)
but I now wish to add
WorkRow["Forename"] = m_forename
where Forename is defined in the XSD as
<xsd:element name="Forename" minOccurs="0" maxOccurs="2" />
How do I add these two entries?