MySQL Forums
Forum List  »  MySQL Query Browser

Re: SUM
Posted by: Chad Bourque
Date: January 26, 2010 04:28PM

Jonas,

You need to create a connection and command and statement. Then executeReader. Then, with the result set, call the Read method. Then you can get the value from the row with resultSet.getInt32(1) or something similar to that. Convert the integer to a string and pass it the textbox's setText method.

HTH,
Chad

Options: ReplyQuote


Subject
Written By
Posted
SUM
December 30, 2009 09:31AM
January 06, 2010 05:48AM
January 07, 2010 08:20PM
January 26, 2010 02:18AM
Re: SUM
January 26, 2010 04:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.