How can we count the no of rows are available in a data
table ?

Answer Posted / rao' prasad

DataTable.GetRowCount()function usful for findout rows
(Contain Values)in the datatable.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle dynamic objects in quicktest professional (qtp)?

736


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1755


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1763


when to start the automation?

1673


What is debugging? How you debug your script?

820


any body can you help me what is the script to automate an comand promt

2208


What is 'sleep' in sync point?

834


What is synchronization? What are the ways you can synchronize?

888


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1999


What is the significance of “action 0” in qtp?

759


What is the use of running the scripts in Hidden-mode in UFT?

933


How to capture all the data of a webtable, weblist and combolist using QTP?

3047


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1478


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1967


how to test Web application using QTP software

1759