la weight loss menu
New Member
\[code\]<?xml version="1.0" encoding="utf-8" standalone="yes"?><AppXmlLogWritter> <LogData> <LogID>5678201301211226306349434819061642515658</LogID> <LogDateTime>**20130121**122630</LogDateTime> <LogType>Warning</LogType> <LogFlag>PMLogFlag</LogFlag> <LogApplication>PMLogApplication</LogApplication> <LogModule>PMLogModule</LogModule> <LogLocation>PMLogLocation</LogLocation> <LogText>PMLogText</LogText> </LogData> <LogData> <LogID>5678201301211226306349434819063542617610</LogID> <LogDateTime>**20130121**122630</LogDateTime> <LogType>Warning</LogType> <LogFlag>PMLogFlag</LogFlag> <LogApplication>PMLogApplication</LogApplication> <LogModule>PMLogModule</LogModule> <LogLocation>PMLogLocation</LogLocation> <LogText>PMLogText</LogText> </LogData> <LogData> <LogID>5678201301211226306349434819065542731198</LogID> <LogDateTime>**20130121**122630</LogDateTime> <LogType>Warning</LogType> <LogFlag>PMLogFlag</LogFlag> <LogApplication>PMLogApplication</LogApplication> <LogModule>PMLogModule</LogModule> <LogLocation>PMLogLocation</LogLocation> <LogText>PMLogText</LogText> </LogData> <LogData> <LogID>5678201301211226306349434819067442849561</LogID> <LogDateTime>**20130117**122630</LogDateTime> <LogType>Warning</LogType> <LogFlag>PMLogFlag</LogFlag> <LogApplication>PMLogApplication</LogApplication> <LogModule>PMLogModule</LogModule> <LogLocation>PMLogLocation</LogLocation> <LogText>PMLogText</LogText> </LogData></AppXmlLogWritter>\[/code\]From the above XmL file i want to read the xml document in between the range. such I implement the windows form with datetimepicker control for From Date and To Date and one submit button when i choose date from FROM DATE and also from the TO DATE it display the date into list view from these from tow different datefor this i have write the code as \[code\]private void btnSubmit_Click(object sender, EventArgs e) { XmlElement objXmlRoot = objXmldoc.DocumentElement;if (chkBoxFromDate.Checked && chkBoxToDate.Checked) { strXpathQuery = "/AppXmlLogWritter/LogData[LogDateTime >='" + dateTimePickerFromDate.Value.ToString("yyyyMMdd") + "' and LogDateTime <='" + dateTimePickerToDate.Value.ToString("yyyyMMdd") + "']";}} \[/code\]I use this query to display data but it shows me blank data.