Beruflich Dokumente
Kultur Dokumente
Project Report
on
E-VILLAGE
Submitted to
1
ACKNOWLEDGMENT
VIVEK KUMAR
2
DECLARATION
This is to certify that the project report entitled “E- VILLAGE (a Village
Website)” is done by me is an authentic work carried out for the partrial
fulfillment of the requirements for the award of the Diploma in Computer
Science under the guidance of MR. RAHUL SINGH. The matter embodied in
this project work has not been submitted earlier for award of any degree or
diploma to the best of my knowledge and belief.
VIVEK KUMAR
3
INDEX
1. Introduction……………….
1.1 Overview of Orgnization
1.2 Objectives
2. System Analysis
2.1 SDLC phases
2.2 Feasibility Study
2.3 Report Approval
2.4 System Analysis
2.5 System Design
2.6 Coding
2.7 Testing
2.8 Implementation
2.9 Maintenance
2.10 ER-Diagram
2.11 Data Flow Diagram
3. Software Requirement Specification
3.1 Hardware Requirement
3.2 Software Requirement
3.3 Support Maintenance
4. System Design
5. Low Level Design
6. Description of Classes & Methods
7. Data Modeling
7.1 List of Table
4
7.2 Structure Of Table
8. Testing
9. Input Output Forms
9.1 Modularization Details
9.2 User Screen Shots
9.3 Admin Screen Shots
10. Future Scope
11. Conclusion
5
INTRODUCTION
E-village portal helps that one can take any information about that
particular village for which project is concerned. E-village portal can store
all the information dynamically about that village like population of that
village, voter list, APL list, BPL list, Antyodaya list, primary school, primary
health center etc.
One can contact directly to the Pradhan, Village development officer
(VDO), Lekhpal, Aanganwari, Asha bahu, ANM, Prerak, Panchayat mitra
etc through the list having the name and contact number of the above
persons in the portal.
One can also know about the govt. plannings as well as NGOs working for
that village in various areas like education, health, women empowerment
etc. Any villager can get information about his KHASRA number and all
other status through the E-village portal.
One can give feedback and also can complane .
6
OBJECTIVES
7
SYSTEM ANALYSIS
Phases
Preliminary Investigation
This is the first phase of the system development life cycle. In this
phase we tend to find out the needs of the client-what exactly does the client
want ? Before the development of any system the important point is to know
the needs, objectives and scope of the system.
Feasibility Study
Feasility study is the second step of the system development life cycle.
Things are always easy at the beginning in any software process. In fact
nothing is in feasible with unlimited time and resourse.
Request Approval
8
in the system are stated. The request approval is a sort of agreement between
the client and the company which is building this software.
System Analysis
System Design
System design means the designing of the system. The system can be
done in either of the fillowing two ways-
Coding
Testing
Testing is the phase in which the system that has been developed is
tested. Testing comprises of 60% of the overall development of the system.
9
Testing of the system is important because testing aims to uncover then
different errors in the system.
Implementation
Parallel Conversion
Direct Conversion Approach
Pilot Conversion Approach
Phase In Conversion Approach
Maintenance
10
ER-Diagram
11
12
13
Data Flow Diagram
14
0 Level DFD
1 Level DFD
15
SOFTWARE REQUIREMENT SPECIFICATION
The software requirement specification document enlists all necessary rewquirments for project
development. To derive the requirement we need to have clear and through understanding of the
products to be developed. This is prepared after detailed communication with project team and the
customer.
Hardware Requirement
Software Requirement
16
Development End:Visual Studio 2012 ASP.NET, HTML, Javascript,
SQL Server Management Studio 2008, OS(Windows),Web server
(IIS 6 or Higher)
DATA MODELING
List of Table
1. Tbl_Complain
2. Tbl_Answer
3. Tbl_Notifications
4. Tbl_Feedback
5. Tbl_login
1. Tbl_Complain
Sr.No. Column Name Data type Data Size Remarks
1 Complain Id Varchar 10 PK
2 Complain Varchar 100
3 ComplainDT Varchar 50
2. Tbl_Answer
Sr.No. Column Name Data type Data Size Remarks
1 ComplainId Varchar 10 PK
2 AnswerID Varchar 50
3 Answer varchar MAX
4 AnswerDT varchar 50
17
3. Tbl_Notifications
Sr.No. Column Name Data type Data Size Remarks
1 NotificationId Int PK(AG)
2 Message Varchar MAX
3 NotificationDT Varchar 30
4. Tbl_Feedback
Sr.No. Column Name Data type Data Size Remarks
1 NAME Varchar 100
2 Email Varchar 100
3 mobileNo Varchar 20
4 Message Varchar Max
5. Tbl_login
Sr.No. Column Name Data type Data Size Remarks
1 AdminId Varchar 50
2 Pass Varchar 50
The LLD phase is the stage where the actual software components are designed.
During the detailed phase the logical and functional design is done and the design of
application structure is developed during the high-level design phase.
18
Testing
DBManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
/// <summary>
/// Summary description for DBManager
/// </summary>
public class DBManager
{
SqlConnection con = new SqlConnection("Data Source=DESKTOP-
K0RUS8Q\\SQLEXPRESS;Initial Catalog=gpsDB;Integrated Security=True");
Public bool ExceuteInsertUpdateOrDelete(string YourCommand)
{
19
SqlCommand cmd = new SqlCommand(YourCommand, con);
if (ConnectionState.Closed == con.State)
{
con.Open();
}
int n = cmd.ExecuteNonQuery();
con.Close();
return n > 0 ? true : false;
}
public DataTable GetBulksRecord(string MyCommand)
{
SqlDataAdapter da = new SqlDataAdapter(MyCommand, con);
DataTable dt=new DataTable();
da.Fill(dt);
return dt;
}
}
EncryptionManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for EncryptionManager
/// </summary>
public class EncryptionManager
{
public static string EncryptMyData(string plaintext)
{
string ciphertext = "";
int ch;
int i;
for (i = 0; i < plaintext.Length; i++)
{
ch = plaintext[i];
if (ch >= 65 && ch <= 90)
ch = 90 - ch + 65;
else if (ch >= 97 && ch <= 122)
ch = 122 - ch + 97;
else if (ch >= 48 && ch <= 57)
ch = 57 - ch + 48;
ciphertext = ciphertext + (char)ch;
}
return ciphertext;
}
}
20
USER SCREENSHOTS
Index cs .html
21
Schemas,cshtml
22
contect.cshtml
23
PhotoGallery.aspx
Login.cshtml
24
Feadback.cshtml
Index .cshtml
@{
ViewBag.Title = "Index";
}
<link href="~/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="~/css/bootstrap.min.css" rel="stylesheet" />
25
<link href="~/css/font-awesome.min.css" rel="stylesheet" />
<link href="~/css/hover-min.css" rel="stylesheet" />
<script src="~/js/jquery.js"></script>
<script src="~/js/bootstrap.min.js"></script>
<link href="~/Content/themes/main.css" rel="stylesheet" />
<div class="row">
<div class="slider">
<div id="carous.,bvm el-example-generic"class="carousel slide" data-ride="carousel">
<div class="item">
<img src="~/Content/images/IMG-20190508-WA0019.jpg"style="width:100%; height:450px"
/>
<div class="carousel-caption">
...
26
</div>
</div>
</div>
</div>
<div class="notif">
<div class="news">
<center><h2>News</h2></center>
</div>
<div class="news2">
<marquee direction="up" onmouseover="this.stop();"
onmouseout="this.start();">
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
<a href="#"><p><label>*New</label> enter here
new news....?????</p></a>
</marquee>
</div>
</div>
<!--Complaints button-->
<div>
<a href="#"><div class="complaints" onmouseover="this.stop()">
<div class="complaints_1">
<h3>User Panel For request & Complaints</h3>
</div>
<div class="complaints_2">
<img src="~/Content/images/arrow.gif" />
</div>
</div></a>
</div>
</div>
27
<div class="photo_1" >
<ul>
<a href="#">
<li >
<div class="images"><img
src="~/Content/images/pm.jpg"alt="image not heere!!!!"/></div>
<div class="title"><p><b>Name:</b>
Narendra Modi</p><br><p><b>Ocupation:</b> Prime Minister<br> of India</p></div>
</li>
</a>
<a href="#"><li>
<div class="images"><img
src="~/Content/images/cm.jpeg"alt="image not heere!!!!"/></div>
<div class="title"><p><b>Name:</b> Shri
Yogi Adityanath</p><br><p><b>Ocupation:</b> Chief Minister</p><br><p><b>State:</b> Uttar
Pradesh</p></div>
</li>
</a>
<a href="#">
<li>
<div class="images"><img
src="~/Content/images/dm.jpg"alt="image not heere!!!!"/></div>
<div class="title"><p><b>Name:</b> Enter
here</p><br><p><b>Ocupation:</b> District Minister</p><br><p><b>District:</b> Ambedkar
nagar</p><br><p><b>State:</b> Uttar Pradesh</p></div>
</li>
</a>
<a href="#">
<li style="height:auto">
<div class="images"><img
src="~/Content/images/pra.jpg"alt="image not heere!!!!"/></div>
<div
class="title"style="height:auto"><p><b>Name:</b>Vijay Singh</p><br><p><b>Ocupation:</b>
Gram Pradhan</p><br><p><b>District:</b> Ambedkar Nagar</p><br><p><b>State:</b> Uttar
Pradesh</p></div>
</li>
</a>
</ul>
</div>
</div>
Schemes.cs html
@{
ViewBag.Title = "Schemes";
28
}
<div class="row">
<div class="col-sm-1"></div>
<img src="~/Content/images/img3.png"class="img">
</p>
</div>
29
Uttar Pradesh<br/>
Contact: 7080796140<br/>
E-mail : vivekkumar2472@gmail.com<br/>
website : www.teriyavillage.com<br/>
</p>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
Photogallery.aspx
@{
ViewBag.Title = "PhotoGallery";
}
<link href="~/css/bootstrap-theme.min.css" rel="stylesheet" />
<link href="~/css/bootstrap.min.css" rel="stylesheet" />
<link href="~/css/font-awesome.min.css" rel="stylesheet" />
<link href="~/css/hover-min.css" rel="stylesheet" />
<link href="~/Content/Gallery.css" rel="stylesheet" />
<div class="row">
<div class="gallery">
<div class="container">
<div class="row rowss">
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181018_191128.jpg"
style="width:100%;height:135px"/></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181019_160224.jpg"
style="width:100%;height:135px"/></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_172906.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_173210.jpg"
style="width:100%;height:135px" /></div>
</div>
<div class="row rowss">
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181019_123044.jpg"
style="width:100%;height:135px"/></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
30
<img src="~/Content/images/IMG_20181019_171656.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181019_171829.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_175618.jpg"
style="width:100%;height:135px"/></div>
</div>
<div class="row rowss">
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181019_123138.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_175751.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_175930.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_180015.jpg"
style="width:100%;height:135px" /></div>
</div>
<div class="row rowss">
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_181235.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_181522.jpg"
style="width:100%;height:135px" /></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20181019_171656.jpg"
style="width:100%;height:135px"/></div>
<div class="col-md-3 col-sm-3 col-lg-3 cols">
<img src="~/Content/images/IMG_20190327_172812.jpg"
style="width:100%;height:135px" /></div>
</div>
</div>
</div>
</div>
<script src="~/js/jquery.js"></script>
<script src="~/js/bootstrap.min.js"></script>
</asp:Content>
Login.cs html
@{
ViewBag.Title = "Login";
}
31
<div class="col-sm-5 content" style="background:rgba(128, 128, 128,
0.05);margin:40px;padding:20px;">
<h2 class="text-center" style="font-
family:Algerian;color:maroon;text-shadow:5px 5px 5px gray; font-size:40px;">
</div>
<div class="col-sm-5 content" style="background:rgba(88, 85, 85,
0.30);margin:40px;padding:20px;">
<img src="../Content/images/login.png"class="img">
<h1 style="font-family:'Microsoft Tai Le';font-weight:bold;font-weight:bold;">Admin
Login</h1>
<form action="/Home/Login" method="post">
<p style="font-family:'Monotype Corsiva';font-size:20px;color:black;text-shadow:2px 3px
4px white;font-weight:bold;">User Name</p>
<input type="text"name="txtuserid"placeholder="Enter your name"/>
<p style="font-family:'Monotype Corsiva';font-size:20px;color:black;text-shadow:2px 3px
4px white;font-weight:bold;">Password</p>
<input type="password"name="txtpass" placeholder="Enter 6 digit code"/>
</div>
</div>
</div>
Notification.cshtml
<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.master"
AutoEventWireup="true" CodeFile="Notification.aspx.cs" Inherits="Admin_Notification" %>
}
#k1 {
height:500px;
width:100%;
background:rgba(0,0,0,.8);
}
.txt {
height:100px;
width:300px;
}
.auto-style1 {
height: 45px;
32
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPHMain" Runat="Server">
<div id="k">
<div id="k1"><br/><br/>
<div id="box"
style="height:350px;width:600px;background:rgba(255,255,255,.6);margin-left:25%;">
<h1 style="color:white;font-family:'Monotype Corsiva';font-
size:40px;"><center>Add Notification</center></h1><hr/>
<table style="margin-left:23%;color:white">
<%-- <tr>
<td class="auto-style1">Sr. No.<br/>
<asp:TextBox ID="Txtsrn" runat="server"></asp:TextBox>
</td>
<td class="auto-style1">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="Txtsrn" ErrorMessage="*"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>--%>
<tr><td>Notification Name:<br/>
<asp:TextBox runat="server" ID="TxtNoti"
CssClass="txt"></asp:TextBox></td><td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TxtNoti" ErrorMessage="*"
ForeColor="Red"></asp:RequiredFieldValidator>
</td></tr>
<br />
33
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<HeaderStyle BackColor="#A55129" Font-Bold="True"
ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True"
ForeColor="White" />
<SortedAscendingCellStyle BackColor="#FFF1D4" />
<SortedAscendingHeaderStyle BackColor="#B95C30" />
<SortedDescendingCellStyle BackColor="#F1E5CE" />
<SortedDescendingHeaderStyle BackColor="#93451F" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:gpsDBConnectionString %>" DeleteCommand="DELETE FROM
[Tbl_Notifications] WHERE [NotificationId] = @NotificationId" InsertCommand="INSERT INTO
[Tbl_Notifications] ([Message], [NotificationDT]) VALUES (@Message, @NotificationDT)"
SelectCommand="SELECT * FROM [Tbl_Notifications]" UpdateCommand="UPDATE
[Tbl_Notifications] SET [Message] = @Message, [NotificationDT] = @NotificationDT WHERE
[NotificationId] = @NotificationId">
<DeleteParameters>
<asp:Parameter Name="NotificationId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="Message" Type="String" />
<asp:Parameter Name="NotificationDT" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Message" Type="String" />
<asp:Parameter Name="NotificationDT" Type="String" />
<asp:Parameter Name="NotificationId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</asp:Content>
Feedback .cshtml
<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.master"
AutoEventWireup="true" CodeFile="FeedbackMgmt.aspx.cs" Inherits="Admin_FeedbackMgmt" %>
34
<asp:BoundField DataField="EmailId" HeaderText="EmailId"
SortExpression="EmailId" />
<asp:BoundField DataField="MobileNo" HeaderText="MobileNo"
SortExpression="MobileNo" />
<asp:BoundField DataField="Message" HeaderText="Message"
SortExpression="Message" />
</Columns>
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#FFF1D4" />
<SortedAscendingHeaderStyle BackColor="#B95C30" />
<SortedDescendingCellStyle BackColor="#F1E5CE" />
<SortedDescendingHeaderStyle BackColor="#93451F" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:gpsDBConnectionString %>" DeleteCommand="DELETE FROM [Tbl_Feedback]
WHERE [SrNo] = @SrNo" InsertCommand="INSERT INTO [Tbl_Feedback] ([Name], [EmailId],
[MobileNo], [Message]) VALUES (@Name, @EmailId, @MobileNo, @Message)"
SelectCommand="SELECT * FROM [Tbl_Feedback] ORDER BY [SrNo]" UpdateCommand="UPDATE
[Tbl_Feedback] SET [Name] = @Name, [EmailId] = @EmailId, [MobileNo] = @MobileNo,
[Message] = @Message WHERE [SrNo] = @SrNo">
<DeleteParameters>
<asp:Parameter Name="SrNo" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="Name" Type="String" />
<asp:Parameter Name="EmailId" Type="String" />
<asp:Parameter Name="MobileNo" Type="String" />
<asp:Parameter Name="Message" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Name" Type="String" />
<asp:Parameter Name="EmailId" Type="String" />
<asp:Parameter Name="MobileNo" Type="String" />
<asp:Parameter Name="Message" Type="String" />
<asp:Parameter Name="SrNo" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</asp:Content>
Future Scope
Following modification or upgrades can be done in system.
35
Conclusion
36