How to export data present in Datatable to an ".xls"

file?

Answer Posted / sreeprasad

DataTable.Export("Path of the sheet")

or DataTable.ExportSheet("Path of the sheet",Index of the

runtime datatable u want to export")

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diff between image and bitmap check point?

606


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1220


What is QTP and the use of QTP in TD?

606


What is difference between design time and run time data table?

593


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1199






Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1644


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1949


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3431


What are the methods used in UFT to handle exceptions or run-time errors?

659


Suppose I want fail that check point? How can you do that?

609


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1455


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1439


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1702


What is fragmentation and paging?

1602


Explain the qtp test phases.

626