i fetch data from http://www.vaktija.ba/mobile/ but i dont get the body part of the website i just get title
here is my code
public void getpage() {
Uri u = new Uri("http://www.vaktija.ba/mobile/");
WebClient client = new WebClient();
client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(DownloadStringCallback2);
client.DownloadStringAsync(u);
}
private void DownloadStringCallback2(object sender, DownloadStringCompletedEventArgs e) {
//data.Text = e.Result;
data.Text = Regex.Replace(e.Result, "<[^>]*>", "");
}
private void but_Click(object sender, RoutedEventArgs e) {
getpage();
}
what should i do to get body part are there any other way to do that