JTables
Hello..Well i am making database application using Java..In my appication i need to store some details about items in my store..For that i am using Tables..I have made a table in which i can add as well as delete rows...
But i want to now store data from table into my database...I have tried a lot but i am not able to get data from cells..
my codes of line is:
for(int i = 0;i<table.getRowCount();i++)
{
insItem(table.getValueAt(i,0), table.getValueAt(i,1), table.getValueAt(i,2) );
///calls function from another cls for inserting data
}
But the problem is im getting error...Array out of bound exception..i dont know why?
plz do help..n thanx in advance>

