Find data in dataset and assign cell value to a variable
Hi,
I cannot read the value from the cell. Pls help.
The program should read data from an XML file(without schema) and find value
from one cell.
Here is my code :
DataSet dsLogon = new DataSet();
dsLogon.ReadXML(Server.MapPath("XMLFile.XML");
DataView dvServer = new DataView(dsLogon.Tables["Server"];
dvServer.Sort = "Name";
dvServer.RowFilter = "Name = '" + this.Server.Text + "'";
this.AppHost = dvServer.Table.Rows["ServerIP"].ToString();
Thanks
Wilson

Andrzej WegierskiRank #1,729 · 877 reputationPosted Jun 25, 2004, 12:22 AM EDT
Andrzej WegierskiRank #1,729 · 877 reputationPosted Jun 25, 2004, 12:26 AM EDT
wilsonwu9 reputationPosted Jun 26, 2004, 7:34 PM EDT
Andrzej WegierskiRank #1,729 · 877 reputationPosted Jun 28, 2004, 12:23 AM EDT