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