-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddFarmers.aspx
More file actions
62 lines (45 loc) · 1.87 KB
/
AddFarmers.aspx
File metadata and controls
62 lines (45 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddFarmers.aspx.cs" Inherits="ABCSAMPLE.AddFarmers" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
body {
text-align: center;
background-color: rosybrown;
}
#main {
margin-left: auto;
margin-right: auto;
text-align: left;
width: 100%;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class ="#main">
<asp:Label ID="lblName" runat="server" style="display:inline;text-align:center;" Text="Name:"></asp:Label>
<asp:TextBox ID="txtFarmerName" runat="server"></asp:TextBox>
<p>
<asp:Label ID="lblCompany" runat="server" Text="Farmer Company:"></asp:Label>
<asp:TextBox ID="txtFarmerCompany" runat="server" Height="28px"></asp:TextBox>
</p>
<p>
<asp:Label ID="lblNumber" runat="server" Text="Contact Number:"></asp:Label>
<asp:TextBox ID="txtContactNumber" runat="server"></asp:TextBox>
</p>
<asp:Label ID="lblEmail" runat="server" Text="Email:"></asp:Label>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
<p>
<asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
<asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
</p>
</div>
<asp:Button ID="btnPopulate" runat="server" Text="Save" ToolTip="S" OnClick="btnPopulate_Click" />
<p>
<asp:Button ID="btnViewProducts" runat="server" OnClick="btnViewProducts_Click" style="margin-left: 0px" Text="View Products" Width="160px" />
</p>
</form>
</body>
</html>