Eski bir örnek buldum pc de..

Bir listview bir butonumuz var.. butonun click indeki kodlar asağıdaki gibi




using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Xml;

namespace ADO_XML_DTD_Uygulama_1
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
ArrayList liste = new ArrayList();

KurData data = null;

XmlTextReader reader = new XmlTextReader(@"http://www.tcmb.gov.tr/kurlar/today.xml");

while (reader.Read())
{

if (reader.Name=="Isim" && reader.NodeType == XmlNodeType.Element)
{
reader.Read();
data = new KurData();
data.Isim = reader.Value;
}
else if (reader.Name == "ForexBuying" && reader.NodeType == XmlNodeType.Element)
{
reader.Read();
data.ForexBuying = reader.Value;
}
else if (reader.Name == "ForexSelling" && reader.NodeType == XmlNodeType.Element)
{
reader.Read();
data.ForexSelling = reader.Value;

liste.Add(data);
}
}
reader.Close();