<% if(session.getAttribute("EmailId")!=null){ %> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> Allproject.in - A Place for Innovative Technical Projects <%int l=0; %>

Available Project


B.Tech Projects-> Electronics

<% String EmailId=session.getAttribute("EmailId").toString(); db.connect(); try{ ResultSet rs=db.execSQL("select * from adminprojects where Specification='Electronic Project' order by ProjectId"); while(rs.next()){ if(l<3){ String FileName=rs.getString("Image"); File savedFile = new File(config.getServletContext().getContextPath() +"/Uploaded/"+FileName ); %>
" value="<%=rs.getString("ProjectId") %>" name="ProjectId" src="<%=savedFile %>" width="200" height="150"/>

<%=rs.getString("ProjectName") %>

Price : Rs.<%=rs.getString("Price") %>

<% } else { l=0; break; } l++; } } catch(Exception e){ out.println(""+e); } %>

B.Tech Projects-> Computer Science

<% db.connect(); try{ ResultSet rs=db.execSQL("select * from adminprojects where Category='B.Tech Project' and Specification='Computer Science Project' order by ProjectId"); while(rs.next()){ if(l<3){ String FileName=rs.getString("Image"); File savedFile = new File(config.getServletContext().getContextPath() +"/Uploaded/"+FileName ); %>
" value="<%=rs.getString("ProjectId") %>" name="ProjectId" src="<%=savedFile %>" width="200" height="150"/>

<%=rs.getString("ProjectName") %>

Price : Rs.<%=rs.getString("Price") %>

<% } else { l=0; break; } l++; } } catch(Exception e){ out.println(""+e); } %>

B.Tech Projects-> Mechanical

<% db.connect(); try{ ResultSet rs=db.execSQL("select * from adminprojects where Specification='Mechanical Project' order by ProjectId"); while(rs.next()){ if(l<3){ String FileName=rs.getString("Image"); File savedFile = new File(config.getServletContext().getContextPath() +"/Uploaded/"+FileName ); %>
" value="<%=rs.getString("ProjectId") %>" name="ProjectId" src="<%=savedFile %>" width="200" height="150"/>

<%=rs.getString("ProjectName") %>

Price: Rs.<%=rs.getString("Price") %>

<% } else { l=0; break; } l++; } } catch(Exception e){ out.println(""+e); } %>

MBA Projects

<% db.connect(); try{ ResultSet rs=db.execSQL("select * from adminprojects where Category='MBA Project' order by ProjectId"); while(rs.next()){ if(l<3){ String FileName=rs.getString("Image"); File savedFile = new File(config.getServletContext().getContextPath() +"/Uploaded/"+FileName ); %>
" value="<%=rs.getString("ProjectId") %>" name="ProjectId" src="<%=savedFile %>" width="200" height="150"/>

<%=rs.getString("ProjectName") %>

Price: Rs.<%=rs.getString("Price") %>

<% } else { l=0; break; } l++; } } catch(Exception e){ out.println(""+e); } %>

M.Tech Projects

<% db.connect(); try{ ResultSet rs=db.execSQL("select * from adminprojects where Category='M.Tech Project' order by ProjectId"); while(rs.next()){ if(l<3){ String FileName=rs.getString("Image"); File savedFile = new File(config.getServletContext().getContextPath() +"/Uploaded/"+FileName ); %>
" value="<%=rs.getString("ProjectId") %>" name="ProjectId" src="<%=savedFile %>" width="200" height="150"/>

<%=rs.getString("ProjectName") %>

Price: Rs.<%=rs.getString("Price") %>

<% } else { l=0; break; } l++; } } catch(Exception e){ out.println(""+e); } %>
Project Category


<%} else response.sendRedirect("index.html"); %>