I *really* am a newbie at this, so appologise if I'm asking the blindingly obvious.
how would I reference a form variable in a script I've set up to run at the server?
here's the code i've got:
<script language="VB" runat="server">
Sub Page_Load(sender as Object, e as EventArgs)
Dim url as String = " + Request.Form("xmlfile"
Dim ds as DataSet = new DataSet()
ds.ReadXml(url)
DL.DataSource = ds.Tables(0).DefaultView
DL.DataBind()
End Sub
</script>
which is throwing up an error... what do i need to use in place of Requst.Form?
thanks for any help
Emma
how would I reference a form variable in a script I've set up to run at the server?
here's the code i've got:
<script language="VB" runat="server">
Sub Page_Load(sender as Object, e as EventArgs)
Dim url as String = " + Request.Form("xmlfile"
Dim ds as DataSet = new DataSet()
ds.ReadXml(url)
DL.DataSource = ds.Tables(0).DefaultView
DL.DataBind()
End Sub
</script>
which is throwing up an error... what do i need to use in place of Requst.Form?
thanks for any help
Emma