B
bob
Hi,
This code gives two errors, one on each </script> tag:
the first: "statement cannot appear in method body"
the last: "end of tag has no matching start tag"
Any way to solve this?
Thanks
Bob
<script runat="server">
Protected Sub DetailsView1_ItemInserted(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DetailsViewInsertedEventArgs)
Dim jv As String
jv = "<script type='text/javascript' language='javascript'>" _
& " alert('Thanks, data are in');" _
& "</script>"
Response.Write(jv)
End Sub
</script>
This code gives two errors, one on each </script> tag:
the first: "statement cannot appear in method body"
the last: "end of tag has no matching start tag"
Any way to solve this?
Thanks
Bob
<script runat="server">
Protected Sub DetailsView1_ItemInserted(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DetailsViewInsertedEventArgs)
Dim jv As String
jv = "<script type='text/javascript' language='javascript'>" _
& " alert('Thanks, data are in');" _
& "</script>"
Response.Write(jv)
End Sub
</script>