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

.qfl extension for which file? where vl use it

3 Answers   iFlex,


from where we will retrieve data for data driven tests in qtp?

3 Answers  


Explain how qtp identifies objects?

0 Answers  


In real time ,How to run all scripts in QTP? i,e in projects

3 Answers  


what is frame work?

2 Answers   Wipro,






What does Reporter.Reortevent2 does?

2 Answers  


What is a Patch in QTP?

0 Answers  


What is the extension for Recovery scenario?

2 Answers  


Can i get a simple example exercise for update run mode for sample flight application......... In qtp when i try to run the test in update mode.. Auotmation> update option is disabled............ Pls let me know ................. Thanks in advance.....

3 Answers  


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

0 Answers  


How to maintain the old scripts in QTP?

2 Answers   Olive Tech, Wipro,


who is the best faculty in HYD? Nageshwar rao or GC reddy?

3 Answers  


Categories