How to Import data from a file (file is on the desktop) to
the data table

Answer Posted / sojan davis

We can use Datatable.import and Datatable.importsheet method

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

769


How can constants be declared in the vbscript language?

699


Explain about operator precedence in vb script?

746


What is the purpose of the err object in the vbscript language?

784


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1594






I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1703


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1019


What is the scope of a constant declared using public?

695


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

685


What are lbound and ubound in the vbscript language?

764


Explain different types of segment?

730


Which object provide information about a single runtime error in a vbscript?

752


Mention what is variant in vbscript?

675


What is the main difference between function and sub-procedure?

699


How will you get a string with the specified character the specified number of times in vbscript?

725