التنبيهات التالية ظهرت :
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 864 errorHandler->error



تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
خطأ بسيط لا اعلم مغزاه
#1
كود :
Dim url As String = "https://www.alukah.net/fatawa_counsels/3002/"
       Dim wc As New WebClient
       wc.Encoding = Encoding.UTF8
       Dim html As String = wc.DownloadString(url)
       Dim doc As New HtmlAgilityPack.HtmlDocument
       doc.LoadHtml(html)
       For Each n As HtmlAgilityPack.HtmlNode In doc.DocumentNode.SelectNodes("//table[@class='table']/tr[1]/td[1]/a/id")
           dataGridView1.Rows.Add(n.Attributes("href").Value.ToString(), n.InnerText.Trim)
           Me.Text = dataGridView1.RowCount
       Next
يحدث ايرو من url ولا اعلم لماذا
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
خطأ بسيط لا اعلم مغزاه - بواسطة ابو روضة - 02-12-18, 10:34 PM
RE: خطأ بسيط لا اعلم مغزاه - بواسطة rmnr - 03-12-18, 12:48 AM
RE: خطأ بسيط لا اعلم مغزاه - بواسطة rmnr - 03-12-18, 02:11 AM
RE: خطأ بسيط لا اعلم مغزاه - بواسطة rmnr - 03-12-18, 02:25 AM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم