Actually i make report in xml file using this code...
when report run data and time appeard in this format... the date like this
2001-10-26T19:32:52+00:00,,,,,2001-10-26T21:32:52+02:00,,,, while Time like this
PT17H41M40S..... i need correct standerd format for date and time how it will be correct if any one has some idea plzzz help me...
string xmlPath = Environment.CurrentDirectory.Substring(0, Environment.CurrentDirectory.IndexOf("bin")) + "NewFolder1\\BatchTimeTableRpt.XML"; ;
string xslPath = Environment.CurrentDirectory.Substring(0, Environment.CurrentDirectory.IndexOf("bin")) + "NewFolder1\\BatchTimeTableRpt.XSL"; ;
string resultPath = Environment.CurrentDirectory.Substring(0, Environment.CurrentDirectory.IndexOf("bin")) + "NewFolder1\\MyHtml.html"; ;
dt.WriteXml(xmlPath);
XmlReader reader = XmlReader.Create(xmlPath);
XmlTextWriter writer = new XmlTextWriter(resultPath, null);
XslCompiledTransform xsl = new XslCompiledTransform();
xsl.Load(xslPath);
xsl.Transform(reader, null, writer);
System.Diagnostics.Process PROC = new System.Diagnostics.Process();
PROC.StartInfo = new System.Diagnostics.ProcessStartInfo(resultPath);
PROC.Start();