scusa avevo scritto male. adesso non mi da errore ma con questo codice non mi scrive nulla

pagina aspx
codice:
<asp:Label id="Label1" runat="server" />
pagina vb
codice:
Dim NumberOfRecords As Integer
While dbDR.Read()
  NumberOfRecords = dbDR("M_ID")
End While
		
Dim Label1 As String
Label1 = NumberOfRecords.ToString()