Hi,
I need get "Div" tag contents from the html file using c#.
How to get Div tag contents only Using c#
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santhosh NRank #4,788 · 325 reputationPosted Dec 30, 2010, 6:57 PM EST
string[] str = mainString.Split("
Posted Dec 30, 2010, 7:31 PM EST
Hi,
Thanks for ur idea,but i could not get the all content between the open and close tag like
Santhosh NRank #4,788 · 325 reputationPosted Dec 30, 2010, 8:01 PM EST
onething is once you split on div, you need to substring based on the
Posted Dec 30, 2010, 8:13 PM EST
1
this is my code i want those both div tag contants.seperately..
Note:this contents readed from txt file.