Hi,
I use the <asp:xml> control, xml and xslt to generate a HTML for users to
input data, here is my HTML snippet in a web form:
<asp:Xml id="Xml1" runat="server" TransformSource ="entry.xsl"
DocumentSource= "data.xml"> </asp:Xml>
The form display correctly in the browser, the question is, how do I get the
values users input?
To clarify a little bit, with data.xml and entry.xsl, Xml1 generated HTML
form like this:
<table border="0">
<tr>
<td>
Address: <input type="text" id="txtAddress " name="txtAddres s"
class="underlin e" onchange="updat e1();">
</td>
</tr>
<tr>
<td>
Name: <input type="text" id="txtName" name="txtName" class="noborder "
onchange="updat e1();">
</td>
</tr>
</table>
The users can input something into address and name fields. In the web form
code behind file, I would like to get values user inputted.
Thanks in Advance
I use the <asp:xml> control, xml and xslt to generate a HTML for users to
input data, here is my HTML snippet in a web form:
<asp:Xml id="Xml1" runat="server" TransformSource ="entry.xsl"
DocumentSource= "data.xml"> </asp:Xml>
The form display correctly in the browser, the question is, how do I get the
values users input?
To clarify a little bit, with data.xml and entry.xsl, Xml1 generated HTML
form like this:
<table border="0">
<tr>
<td>
Address: <input type="text" id="txtAddress " name="txtAddres s"
class="underlin e" onchange="updat e1();">
</td>
</tr>
<tr>
<td>
Name: <input type="text" id="txtName" name="txtName" class="noborder "
onchange="updat e1();">
</td>
</tr>
</table>
The users can input something into address and name fields. In the web form
code behind file, I would like to get values user inputted.
Thanks in Advance
Comment