H
hal
Hello All,
I have a windows form with a gridview control and i'm trying to get the
gridview to read the entire XML file. Anyone have any ideas on how to
do this? Below is some code so you can see what I'm trying to do.
private void btnBuildList_Click(object sender, EventArgs e)
{
string getCustomer = GetCustomer(txtLastName.Text,
txtFirstName.Text, txtUserID.Text);
Class1 ds = new Class1();
System.IO.StringReader s = new
System.IO.StringReader(getCustomer);
ds.ReadXml(s);
usersGridView.DataSource = ds;
usersGridView.DataMember = ds.DataTable.ToString();
}
Thanks
I have a windows form with a gridview control and i'm trying to get the
gridview to read the entire XML file. Anyone have any ideas on how to
do this? Below is some code so you can see what I'm trying to do.
private void btnBuildList_Click(object sender, EventArgs e)
{
string getCustomer = GetCustomer(txtLastName.Text,
txtFirstName.Text, txtUserID.Text);
Class1 ds = new Class1();
System.IO.StringReader s = new
System.IO.StringReader(getCustomer);
ds.ReadXml(s);
usersGridView.DataSource = ds;
usersGridView.DataMember = ds.DataTable.ToString();
}
Thanks