Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c x 6
java x 3
sql x 1

7 Posted Topics

Member Avatar for Kriti_1

This should work String sql = "SELECT row1, row2, row3 mysqltable"; ResultSet rs = stmt.executeQuery(sql); //STEP 1: Extract data from result set while(rs.next()){ //Retrieve by column name int row1 = rs.getInt("row1"); String row2 = rs.getString("row2"); String row3 = rs.getString("row3"); //STEP 2 create an object array of the mysql data Object[] …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Alex_47

Try this: Object[] row = {"Data 1","Data 2","Data 3","Data 4"}; DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); model.addRow(row);

Member Avatar for zaraki
0
256
Member Avatar for zaraki

Anyone here know a good java library for XADES signing? Tried my luck with Xades4j, but that didn't go anywhere, couldn't find any API for that. Please provide code examples if you can.

0
134
Member Avatar for vgd

The code shall print garbage value. Here's why.. p[3] = E ascii code 69, p[1] = A ascii code 65. But p is a itself pointer location. so p+p[3]+p[1], will point to the memory location 126 specs beyond the base address of the array c[]. Hence the printed value will …

Member Avatar for smilenow
0
148
Member Avatar for spiritsad

your code segment for deleteRear is probably flawed. you must traverse upto the node preceding the node to be deleted i.e [CODE] NODE temp = start;*/the top of the link list should be stored in a global vaiable since this is a single link link-list*/ while( temp->link!= last ) { …

Member Avatar for zaraki
0
183
Member Avatar for yongj

as far as I know, make files are used to compile codes. any thing on the ledt hand side of the ':' in a line is supposed to be derived. anything on the right hand of the ':' are used to create the file on the left. just like '=' …

Member Avatar for zaraki
0
163
Member Avatar for zaraki

[CODE]/* this code attempts to generate a sudoku board in an non graphical envoirnment the code compiles fine but however it throws segmentation fault everytime it's run*/ # include<stdio.h> # include<stdlib.h> # include<time.h> static int baseArray[9][9]; static void initialise(); void display(); static int checkPosition(int row, int col, int value); int …

Member Avatar for zaraki
0
197

The End.