sub Page_Load if Not Page.IsPostBack then dim myEmploye=New DataSet myEmploye.ReadXml(MapPath("EmployeesXML.xml")) Employe.DataSource=myEmploye Employe.DataBind()
dim myEmployeRadio=New DataSet myEmployeRadio.ReadXml(MapPath("EmployeesXML.xml")) EmployeRadio.DataSource=myEmployeRadio EmployeRadio.DataBind() end if end sub
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Code blocks are not supported in this context.
Source Error:
Line 48: <td> Line 49: <asp:RadioButtonList id="EmployeRadio" runat="server"> Line 50: <asp:ListItem><%DataBinder.Eval(#Container.DataItem("firstname"))%> </asp:ListItem> Line 51: </asp:RadioButtonList> Line 52:
sub Page_Load if Not Page.IsPostBack then dim myEmploye=New DataSet myEmploye.ReadXml(MapPath("EmployeesXML.xml")) Employe.DataSource=myEmploye Employe.DataBind()
dim myEmployeRadio=New DataSet myEmployeRadio.ReadXml(MapPath("EmployeesXML.xml")) EmployeRadio.DataSource=myEmployeRadio EmployeRadio.DataBind() end if end sub
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.