This method returns the current row from the result set
Namespace: rocketsoftware.MVSP
Assembly: RocketMVSP (in RocketMVSP.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function MVResultSetGetCurrentRow() As String |
C# |
---|
public string MVResultSetGetCurrentRow() |
C++ |
---|
public: String MVResultSetGetCurrentRow() sealed |
J# |
---|
public string MVResultSetGetCurrentRow() |
JScript |
---|
public function MVResultSetGetCurrentRow() : String |
Return Value
A string containing a dynamic array of the current row
Remarks
Copy Code
Dim returncode as boolean
Dim mvsp as new rocketsoftware.MVSP.Pick
Dim txt as string
returncode = mvsp.Connect("localhost",9000,"dm","")
If returncode = True then
returncode = mvsp.Logto("MVDEMO","")
If returncode = True then
mvsp.ExecuteQuery("QUERY", "CUSTOMERS", "", "", "CONTACTNAME CITY", "")
While mvsp.MVResultSetNext = True ' While True a row is available
txt = mvsp.MVResultSetGetCurrentRow ' Gets the next row
ListBox1.Items.Add(mvspf.Extract(txt, 1))
ListBox2.Items.Add(mvspf.Extract(txt, 2))
End While
End if
End if
returncode = mvsp.CloseConnection()