I have an sql table where I am saving the HTML of asp.net MVC 3 view. I want to fetch a portion of HTML from this saved HTML. Is there any SQL/ LINQ function which can be used in this scenario. Other option is to get all the HTML from table and then parse it and fetch specific portion/div. Is there any free HTML library which can be used in this case ?
Regards,
Asif Hameed
I believe fetching the entire HTML will be your only option as I’m not aware of any SQL commands that are HTML savvy.
Once you get it, you may find Html Agility Pack useful in parsing out what you need.