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;
namespace Examples
{
public partial class XMLRead : Form
{
public XMLRead()
{
InitializeComponent();
}
DataSet ds = new DataSet();
private void XMLRead_Load(object sender, EventArgs e)
{
ds.ReadXml(@"E:\tutorials\asp.net+c#\demo\Examples\Examples\Student.xml");
dataGrid1.DataSource = ds;
System.Diagnostics.Process.Start("iexplore", @"E:\tutorials\asp.net+c#\demo\Examples\Examples\Student.xml");
}
}
}
No comments:
Post a Comment