How to get the column count and column name from the
resultset in the database connection program?
Answer Posted / nageshbijoor@gmail.com
you can get column count using following code
totalrec = 0
DataTable datatable
datatable = ds.Tables["tablename"]
totalrec = datatable.Rows.Count
Label1.Text = datatable.Rows[currrec]["columnname"].ToString
()
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
In what occasion we can specify global sheet and action sheet?
How you are developing the script? Using record and play back or manual?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
how many maximum number of virtual users we can create?
Hi, how can we check or avoid the memory leakage in QTP9.2?
Is it possible to switch between recording modes during a test creation?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
can any one say that where we can download the QTP trail version ??????????
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
What is the difference between a Function and Procedure in QTP?
What is the extension of the qtp local repository?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?