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

How to Synchronize the Browser at Field level? For example if you put Browser.sync(), it will wait upto for that Browser sync only. But It should wait upto total Browser get uploaded with all fields. Note : We don't know Which fields will come in that Browser. Means without knowing field names.

1 Answers   HP,


h to all plz send me the answer if any one knows about this....i want the java add-ins for the QTP to do my project which is developed under the java platform.

2 Answers   Four soft,


Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

0 Answers   IGI,


How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  






In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?

1 Answers   Siemens,


Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.

7 Answers  


Please anybody can tell the where can i get the information about pharma and bank testing, i put the pharma&bank projects in my resume, so i dont know what to tell about them, so where can i get the information and what we test for these, i need domain information, what r the screen we test?

0 Answers  


Hi, Any one have the crack for QTP 10.0,if so could you please send it to phanijuly10@gmail.com

2 Answers  


what are the disadvantages in QTP 9.2?

1 Answers  


Hi How to retrieve data from web element line by line?

0 Answers  


i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Semantic Space,


Categories