No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: Hi, Have a look at line 8 of the RowValidated code block, Values has @NPROJECT_NAME which I assume is a typo and is probably causing your problems. The same typo occurs in line 8 of the UserAddedRow code block. An uninitialized parameter should cause null issues. Reference: https://www.completecsharptutorial.com/ado-net/insert-records-using-simple-and-parameterized-query-c-sql.php Regards | |
Re: Hi, I've looked all over the Internet and couldn't find any example of a DateTime value being converted to seconds using the TIME_TO_SEC() function as used in your calculation algorithm (Line 118/122: "TIME_TO_SEC(order_status.END_DATE) - TIME_TO_SEC(order_status.BEGIN_DATE) ") . It seems only Time values may be converted to seconds, and that may … | |
Re: Are you trying to extend your classes into another? e.g. person becomes extended by givingperson. All I can offer is this example which explains this section well I think. [URL="http://java.sun.com/docs/books/tutorial/java/javaOO/classes.html"]http://java.sun.com/docs/books/tutorial/java/javaOO/classes.html[/URL] This depends on what you wanted to do with the code of course. | |
Re: Ok this code runs without syntax errors but you still have some program errors. import java.util.Scanner; public class CalculatingSales { private static boolean Double; public static void main(String[] args) { Scanner input = new Scanner ( System.in ); int ProductNumber; double RetailPrice; double total = 0; int Product1Count = 0; … |
The End.