Current File : /home/obabain/public_html/abc/productSpecficationview.jsp |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ include file="Connection.jsp" %>
<%@include file="master.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script src='https://code.jquery.com/jquery-3.3.1.js'></script>
<script src='https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js'></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
<form>
<div class="content">
<div class="row">
<div class="col-md-9" style="background-color:white;">
<div class="panel panel-default" >
<div class="panel-heading main-color-bg">
<h3 class="panel-title">Inward Goods Specification</h3>
</div>
</div>
<table id="example" class="table table-striped table-bordered">
<thead>
<tr>
<th>slno</th>
<th>Lot No</th>
<th>IGI No</th>
<th>Supplier Name </th>
<th>Supplier Invoice No</th>
<th>Supplier Invoice Date</th>
<th>Item Name </th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<%
int i=1;
Statement st1= con.createStatement();
ResultSet rs=st1.executeQuery("SELECT * FROM `inward_goods_specification`");
while(rs.next())
{
%>
<tr>
<td><%=i %></td>
<td><%=rs.getString("l_no") %></td>
<td><%=rs.getString("ig_no") %></td>
<td><%=rs.getString("s_name") %></td>
<td><%=rs.getString("si_no") %></td>
<td><%=rs.getString("si_date") %></td>
<td><a href="productSpecificationveiw2.jsp?id=<%=rs.getString("id") %>&id2=<%=rs.getString("item_name") %>"><%=rs.getString("item_name") %></a></td>
<td><%=rs.getString("qty") %></td>
</tr>
<%
i++; }
%>
</tbody>
</table>
</div>
</div>
</div>
</form>
</body>
</html>