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

Answers were Sorted based on User's Feedback



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

Answer / pavi

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 ?    1 Yes 1 No

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

Answer / zia ur rehman

DataTable.Export "....xls file name..."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi, one script having 10 Actions,but i want to execute only 3rd action and 7th action? how to execute selected actions? throgh script and through navigation?

2 Answers   IBM,


Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )

2 Answers   FIS,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


What are parameterizing tests?

0 Answers  


CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP

2 Answers  






WHat is Object Identification and Object Spy?

2 Answers   IBM,


explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


How to use reporter.report event in qtp ?

0 Answers  


1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?

2 Answers   Genpact, Infosys, Symantic Space, TCS,


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


does test plan is in test strategy or test strategy is in test plan.

6 Answers   Microsoft, TCS,


Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip

1 Answers  


Categories