It is good .But For Reading the XLS File or doc File Alone it is good.For Foramatting the Output
into a GOOD User Interface only we are Using Jasper Reporting tool.Initially I guess u have display Data's in Excel File Alone.If U Read Excel File.It is Good.It works Fine
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...