Quiero obtener cada row en .net son numero de una tabla de una base de datos pero me arroja esto, como podría evitar que salieran los <tr y td que solo me estableciera los numeros.
<tr><td>17788481</td></tr><tr><td>5955996</td></tr><tr><td>58585</td></tr>
mi vb.net
Dim client As New WebClient()
client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)")
Dim baseurl As String = "http://dominio.com/Libreria/control/api/test1.php"
Dim data As Stream = client.OpenRead(baseurl)
Dim reader As New StreamReader(data)
Dim s As String = reader.ReadToEnd()
data.Close()
reader.Close()
s = s.Replace("<html><head></head><body><table CELLSPACING=10 class=tabla><tr><th>ALL</th><th>Testo</th></tr>", "").Replace("</table></body></html>", "").ToString()
RichTextBox1.Text = s.ToString()
Mi php
if ($result->num_rows > 0) {
echo "<html><head></head><body><table CELLSPACING=10 class=tabla><tr><th>ALL</th><th>Testo</th></tr>";
while($row = $result->fetch_assoc()) {
$descriptip = Encrypter::decrypt($row['numbers']);
echo "<tr><td>".$descriptip."</td></tr>";
}
echo "</table></body></html>";
} else {
echo "No se encuentran ningún usuario con numero de la suerte";
}