Ragini Shukla
2 Answer(s)      8 years ago
Posted in : Java Beginners


View Answers

August 12, 2008 at 6:11 PM

hai frnd...
i have to leave now...
let us see it on 2maro....
that may be the problem with ur datatype definition...
look at the part of the code given .....

System.out.println("inside while");

<td width="100"><%=rst.getInt(1) %></td>
<td width="124"><%=rst.getString(2) %></td>
<td width="127"><%=rst.getString(3) %></td>
<td width="127"><%=rst.getInt(4) %></td>
<td width="127"><%=rst.getInt(5) %></td>
<td width="127"><%=rst.getString(6) %></td>
<td width="127"><%=rst.getInt(7) %></td>

here u must give the correct datatype according to each column of ur table....is the first column is int?
2nd is VArchar?
3rd varchar?
4th int?
5th int?
6th varchar?
7th int?

you must give the correct datatype according to the table defintion....

thanks and regards....

August 12, 2008 at 6:13 PM

hai frnd...
the other thing u must notice is that...is there any data in the table like wat u hav given in the search box?
is the table name is correct?
for further needs get me at prashobvee@gmail.com

thanks and regards

Related Tutorials/Questions & Answers:
check box realtive information in page store in database
check box realtive information in page store in database  check box relative information in page store in database  hiiiiiiiii, Que I create a checkbox in html and when i click on my check box realtive information
); System.out.println("hiiiiiiiii"); } catch