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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1397


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1257


Which functionalities of QTP used in banking project?

1924


What are the Disadvantages of shared object repository?

571


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4140






what frame work you are following?

1524


Diff b/w test scenario's and test Procedures?

1628


How to do call a output parameter from one action to another action??/

1872


What is Test Fusion Report in QTP?

620


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1281


what is the difference between modular framework & datadriven framework

1597


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1346


What is data driver in qtp?

578


What is checking bitmaps?

554


If created one virtual object? Next time I changed the window position will it work?

581