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

Tell some commonly used Excel VBA functions?

0 Answers  


What is the difference between "call" and "callclose"

1 Answers   Polaris,


How many scripts did you have?

0 Answers  


Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically

0 Answers  


WHAT IS PARAMITARIZATION?

8 Answers  


how can we test load time of an page in webtesting?

3 Answers   Ordain Solutions,


How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private

1 Answers  


How many types of recording facility are available in quicktest professional (qtp)?

0 Answers  


what you mean by artifact,milestone...

0 Answers  


Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u

29 Answers   IBM,


i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?

3 Answers   CTS,


where do you define the objects as regular expression when u are using regular expressions.

4 Answers  


Categories