Current File : //home/obabain/public_html/abc/more_details.jsp
<%@include file="master.jsp"%>
  <%@include file="Connection.jsp" %>
   

<%-- <%
ResultSet resultSet = null;
%> --%>
<%@page import="java.sql.*,java.util.*"%>
<%@page import="java.sql.ResultSet"%>

   <%  String id=request.getParameter("id");%>      
<style type="text/css">
.highlight-error {
	border-color: red;
}

td.vcenter {

    vertical-align: middle;

}
.inlineTable {
            display: inline-block;
        }

.panel-default>.panel-heading-custom {
	background: #ff0000;
	color: #fff;
}
</style>
<!-- <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">-->
<script
	src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script
	src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

<body>
	<div class="row">
		<form action="#" method="post" id="contact" >
			<section id="main">
				<div class="container">
					<div class="row" style="width: 120%">
						<div class="col-md-9">
							<div class="panel panel-default">
								<div class="panel-heading main-color-bg">
									<h3 class="panel-title">Work Order Details</h3>
								</div>
					

     
<div class="panel-body">
<div style="overflow-x:auto;">
<table class="table table-bordered">            
  <thead>
  <tr class="p-3 mb-2 bg-info text-white">
  
      <th>Order&nbsp;Number</th>
      <th>External&nbsp;Provider&nbsp;Ref&nbsp;No</th>
      <th>External&nbsp;Provider&nbsp;Code</th>
      <th>GST&nbsp;Registration&nbsp;Type</th> 
      <th>GST&nbsp;Registration&nbsp;Number</th>
      <th>Payment&nbsp;Terms</th>  
      <th>Drag&nbsp;No</th> 
      <th>Rev&nbsp;No</th>
      <th>Mat&nbsp;Grade</th>
      
  </tr>
  </thead>
  <tbody>
  
      <%
       try
        {
         Statement  st=con.createStatement(); 
         ResultSet rs = st.executeQuery("select * from foundery_order where id="+id+"");  
        while(rs.next())
        {
      %>
    
      <tbody>
         <tr>
      
      <td scope="col">
        <%=rs.getString("order_number") %>
     </td>    
         
     <td scope="col">
         <%=rs.getString("external_proNo") %>
     </td>
     
     
     <td scope="col">
         <%=rs.getString("external_code") %>
     </td>
     
       <td scope="col">
         <%=rs.getString("gst_type") %>
     </td>

     <td scope="col">
        <%=rs.getString("gst_no") %>
     </td>
     
      <td scope="col">
        <%=rs.getString("payment_terms") %>
     </td>
     
      <td scope="col">
        <%=rs.getString("drag_no") %>
     </td>
     
      <td scope="col">
        <%=rs.getString("rev_no") %>
     </td>
     
      <td scope="col">
        <%=rs.getString("mat_grade") %>
     </td>

    </tbody> 
      <%
        }

       } 
       catch (Exception e) 
       {
        e.printStackTrace();
       } 
    %>
  

  </tbody>
</table>
</div>


    

		

</div> 
</form>
 <div style="margin-left:10px;">
          <button onclick="goBack()" type="button" class="btn btn-primary">Back</button>         
 </div>

							
					</div>
						</div>
			
	</div>
	
	</section>

	<script src="http://cdn.ckeditor.com/4.6.1/standard/ckeditor.js"></script>
	<script src="http://cdn.ckeditor.com/4.6.1/standard/ckeditor.js"></script>
<script type="text/javascript">
function goBack() {
    window.history.back();
   
};
</script>
	<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
	<script
		src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>
	<script
		src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/additional-methods.min.js"></script>
	<script
		src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

	</form>
	</div>
</body>
</html>