reset and begin
4/25/2010

lấy giá vàng bóc tách nội dung C#

sử dụng C# để bóc tách nội dung của 1 trang xml
string urdl = "http://www.vietcombank.com.vn/ExchangeRates/ExrateXML.aspx";
int i = 0;
XmlTextReader MyReader = new XmlTextReader(urdl);
while (MyReader.Read())
{
if (MyReader.Name == "Exrate")
{
Response.Write(MyReader.GetAttribute(0).ToString());
Response.Write("
");
}

}

Bloger Comments
G+ Comments
Comments FaceBook

No comments:

List

Profiles Information


About me : Nothing is 1 vài thứ - 1985

Places I've Lived : I Hà Nội

Home Page : http://www.shimivn.blogspot.com/

Think : 1:1000000000

Languages spoken : Vietnamese,English.

Mobile : sony C2305

dell : i3-Ram 3GB- HDD 250GB .