Quantcast
Browsing all 450 articles
Browse latest View live

New Post: using htmlagilitypack with ajax div load c#

I aslo have a same problem and now I can not past some code to my website "http://onaplioa.com.vn/trang-chu.aspx". I think that in here some one can help to show for me where I can past more code about...

View Article


New Post: Getting No Source available Error - There no source code available...

I am the beginner and trying to read an HTML page ( .htm page) , which is on my local drive using HtmlAgilityPack in C#. Here are the things which i did.Using Visual Studio 2012, first i installed...

View Article


New Post: Getting No Source available Error - There no source code available...

I'd say it could be this line of code string FileName = "\\MYPC\Users\Desktop" + fileName; you are missing a back slash between Desktop and filename. so it's trying to load file Desktopabc.htm

View Article

New Post: Getting No Source available Error - There no source code available...

Hi LeeJeary, Thanks for your response. Anyway here is what exactly happening. When my debug pointer going to HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); line in the code it...

View Article

New Post: Getting No Source available Error - There no source code available...

I think this is just a red herring.. did you try changing the path like I mentioned?

View Article


New Post: Getting No Source available Error - There no source code available...

Hi Lee, Here is the FileName full path. I am not sure this is an issue, as the file path in filename variable is showing as below."C:\Users\sunil\Desktop\Test\corporate-failed-201429080908.html" Here...

View Article

New Post: Getting No Source available Error - There no source code available...

Normally the reason for this is that you have the HtmlAgilityPack.pdb and HtmlAgilityPack.dll files included in the project and thinks that you are able to debug the dll using source code from your...

View Article

New Post: Getting No Source available Error - There no source code available...

Hi Lee, thanks. got it. yes, its the file path issue. there is some permissions issue on that folder, we fixed it and it got resolved now. thanks for u r help. Sunil P

View Article


New Post: Parse inner HTML tables to a DataTable issue from a web page

Hi All, I need to parse inner HTML tables from a web page and I am using HTML Agility pack for it. Here is my HTML table and C# code. Here is the issue. I have 3 Inner HTML tables. 1st Inner table - 3...

View Article


New Post: issues while using HTMLagility pack

I tried using HTMLagilitypack but the api seems to have get changed and many properties and functions under that api is not working. for eg. string text =...

View Article

New Post: Unknown error caused by HtmlAgility pack

Hi I have this code on a Universal App (Windows 8.1 and Windows Phone 8.1) on the "Shared" part of the project HtmlWeb htmlW; public async Task<Dictionary<string, string>>...

View Article

New Post: Get exact unicode tring from website

I want to get Port Code,Port Name ,Country from this page:http://www.infodriveindia.com/traderesources/port.aspx?&GridInfo=Ports010 This's my code: WebRequest objWebRequest =...

View Article

New Post: Chinese language/Character support in HAP

Hi , I want to know if chinese character are supported in HAP. I am using it from RTF to HTML conversion. It is working properly for English language. now when I am entering some chinese character like...

View Article


New Post: Html parse for Windows Phone 8.1

I'm trying to create a wp 8.1 application that takes a web page content. My problem is that xpath doesn't seem to work for WP8.1, so i'm trying to use LinQ, but i don't understand it very well. The...

View Article

New Post: Will Multiple tags through the parser off?

Basically I am to select certain elements, like //table[2], but I cannot specify any indexes as it returns a null element. I am wondering if having multiple <html> tags could be the issue. In...

View Article


New Post: Is contains() function supported ?

this:myHtml.DocumentNode.SelectNodes("//div[@class='colcontent']//div[@class='titlebar']//[h2 contains(.,'Films']") returns null, whereas the h2 tag with Films inside does exist... So, is the...

View Article

Image may be NSFW.
Clik here to view.

New Post: parse text from class of complex html file

Hi. First of all I'm a beginner in programming. I just want to get the text of a class from a html file (website). Here is the html code (the selected class "lyrics-body"): And my code:String...

View Article


New Post: Project outdated?

Nuget says 1.4.9 (2014), project page says 1.4.6 (2012). problem with nuget is that it says it installed, but there are no dlls or references added to the project. It only puts a line in the...

View Article

New Post: selectnodes problem

I'm trying to parse html page(http://news.tut.by/politics/) using this code string htmlPage = ""; using (var client = new HttpClient()) { htmlPage = await...

View Article

New Post: Need help with SelectBodes

Not sure if you need help with this any more, but I figured I'd answer since it should be easy enough to fix.For text that is not entirely within an html tag like the introductory text or footer, you...

View Article
Browsing all 450 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>