Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Read a dynamically content from page in c#
Monu Zira
Oct 19 2015 3:22 PM
429
Reply
Sir how to read dynamically content from page.Suppose i have a site and some tag like
<div class="read_data" data-id="Uwerxd12" ></div>
Now i want to read data-id;
Please check my code:
WebClient x = new WebClient();
url = x.DownloadString("https://www.xyz.com/id='" + search.Text + "'");
Int32 data = url.IndexOf("data-id");
richTextBox1.Text += url.Substring(data , 170);
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to get path of .ini file while run in windows service?
how to take the multiple check box in combobox