Current File : /home/obabain/public_html/abc/View_CGST_form.jsp |
<%@include file="master.jsp" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@include file="Connection.jsp" %>
<%
ResultSet resultSet = null;
%>
<%@page import="java.sql.*,java.util.*"%>
<%@page import="java.sql.ResultSet"%>
<style type="text/css">
.highlight-error {
border-color: red;
}
</style>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<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>
<script src="js/jquery-2.1.0.min.js"></script>
<!-- plugin tableEdit load -->
<script src="js/tableEdit-0.1.js"></script>
<!-- load plugin for element -->
<body>
<div class="row">
<form action="BOM.jsp" method="post" id="contact" name="form1">
<section id="main">
<div class="container">
<div class="row" style="width:110%">
<div class="col-md-10" >
<div class="panel panel-default" >
<div class="panel-heading main-color-bg">
<h3 class="panel-title">View CGST:</h3>
</div>
<div class="panel-body" >
<div class="row" >
<b></b>
<div class="panel-body">
<table id="myTable" class="table table-bordered">
<tr>
<th>Reference No</th>
<th>Lable</th>
<!-- <th>Value date</th> -->
<th>Date Payment</th>
<th>PayMent Type</th>
<th>Paid by this Payment</th>
<!-- <th>Paid by</th> -->
</tr>
<%
try{
Statement st=con.createStatement();
String sql ="select * from Cgst_form";
resultSet = st.executeQuery(sql);
while(resultSet.next()){
%>
<tbody>
<tr>
<td>
<%=resultSet.getString("i_id") %>
</td>
<td>
<%=resultSet.getString("lable") %>
</td>
<%-- <td>
<%=resultSet.getString("valuedate") %>
</td> --%>
<td>
<%=resultSet.getString("Dpayment") %>
</td>
<td>
<%=resultSet.getString("paymenttype") %>
</td>
<td>
<%=resultSet.getString("number") %>
</td>
<%-- <td>
<%=resultSet.getString("number") %>
</td> --%>
</tr>
<%
}
} catch (Exception e) {
e.printStackTrace();
}
%>
</tbody>
</table>
<script>
function myFunction() {
var x = document.getElementById("myDIV");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
</div>
</div>
<div class="modal-footer" id="contact_submit">
<div class="row" >
<a href="CGST_form.jsp"><input type="button" value="Back" style="background:#204b58;margin-right:700px" class="btn btn-info" /></a>
<a class="btn btn-default" href="#" style="margin-right:80px">Reset</a>
<!-- <button type="submit" style="background:" class="" ></button>-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<%-- <% }else{
response.sendRedirect("login.jsp");
} %> --%>
<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 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>
<script type="text/javascript">
</script>
</form>
</div>
</body>
</html>