Hi,
this is the
java code i am pasting..
now in the table i have a unique field called sl_no and thats what i am passing..in the code i have hard coded and given value 1...but how to pass value of the user selected value from list box in front end..pls help...
public void empdisplayRecords()
{
try{
rs=sttnew.executeQuery("select * from dte_leave_transaction where sl_no = 1");
while (rs.next())
{
recemponly = new
String[1][16];
if (rs.getInt(1)!=0)
{
for(int j=0;j<16;j++)
recemponly[0][j]=rs.getString(j+1);
}
}
}catch (Exception e )
{
System.out.println(e.getMessage());
}
public String getemprecordonly(int index1,int index2)
{
return recemponly[index1][index2];
}}