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

Answers were Sorted based on User's Feedback



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

Answer / mohibul islam

DataTable.GetRowCount - this is for Global DataTable
DataTable.GetSheet(sheetId).GetRowCount - this is for Local
DataTable

Is This Answer Correct ?    11 Yes 1 No

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

Answer / uday kumar_anem

All of you are correct, but i am adding one small change.
datatable.getsheet(SheetId).getrowcount

Is This Answer Correct ?    7 Yes 0 No

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

Answer / krishnachand

I think it is getrowcount()

Is This Answer Correct ?    3 Yes 0 No

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

Answer / rao' prasad

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

Is This Answer Correct ?    2 Yes 0 No

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

Answer / nanda

Mohibul is exactly correct...

Is This Answer Correct ?    2 Yes 2 No

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

Answer / rafi

Mohibul is correct

Is This Answer Correct ?    1 Yes 2 No

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

Answer / naga

mohibul is
correct

Is This Answer Correct ?    1 Yes 2 No

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

Answer / k.chandra sekhar

a) Use this Get row account the in the table no of the
rows account.
b) Here the use of the, for loop.

My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail

Is This Answer Correct ?    1 Yes 4 No

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

Answer / bombay

all of them are wrong

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More QTP Interview Questions

Explain the features and benefits of quick test pro(qtp)?

0 Answers  


what is use of the object repository?

4 Answers  


I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this

3 Answers   GE,


How do u do batch testing in WR & is it possible to do in QTP, if so explain?

1 Answers   Crea,


Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?

7 Answers   IBM,






Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


what is smart identification?

7 Answers  


How to capture text from image to word

2 Answers  


how can we do the frame work in qtp

0 Answers   L&T,


what type of test cases tou will automate?

4 Answers   Google,


. Types of properties that Quick Test learns while recording?

2 Answers  


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

0 Answers   Value Labs,


Categories