HI,
I am trying below code from C# . NET to get the result from jbase but gave
the error "FAILED to receive message - UNABLE to read beyond the end of the
stream", so let me the know the corrections ...
Source Code ....
JConnection cx = GetConnection(); // manual function to return
the JConnection to particular Host id and port number
JStatement statement = cx.createStatement();
statement.setFetchSize(10);
JResultSet rs = statement.execute("LIST F.COMPANY @ID");
int i =1;
while (rs.next())
{
JDynArray jd = rs.getRow();
System.Console.Out.WriteLine(jd.get(1) + " " + jd.get(2));
System.Console.Out.WriteLine(i.ToString());
i++;
}
Thanks
Chang
--
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines
IMPORTANT: Type T24: at the start of the subject line for questions specific to
Globus/T24
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en