-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYemek_Odasi.aspx
169 lines (165 loc) · 6.86 KB
/
Yemek_Odasi.aspx
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<%@ Page Title="" Language="C#" MasterPageFile="~/MASTER.master" AutoEventWireup="true" CodeFile="Yemek_Odasi.aspx.cs" Inherits="Yemek_Odasi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style8
{
width: 100%;
}
.style9
{
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="metin" style="border-style: groove; border-color: #8CA096">
<table class="style8">
<tr>
<td class="style9">
Ürün Kodu :</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Mobilya Adı :</td>
<td>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Mobilya Resim :</td>
<td>
<asp:FileUpload ID="FileUpload1" runat="server" />
</td>
</tr>
<tr>
<td class="style9">
Mobilya Ölçüleri :</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Mobilya Renk :</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Kumaş Adı :</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Kumaş Renk :</td>
<td>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Ağaç Cins :</td>
<td>
<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
Fiyat :</td>
<td>
<asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
İndirim Fiyat :</td>
<td>
<asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style9">
KategoriKategori :</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem></asp:ListItem>
<asp:ListItem>Masa</asp:ListItem>
<asp:ListItem>Sandalye</asp:ListItem>
<asp:ListItem Value="Sehpa">Vitrin</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style9" colspan="2">
<asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="EKLE" />
Ürün Kodu :
<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
<asp:Button ID="Button5" runat="server" Text="SİL" />
<asp:Button ID="Button6" runat="server" Text="DÜZENLE" />
<asp:Label ID="Label1" runat="server"></asp:Label>
</td>
</tr>
</table>
</div>
<div class="menuic"">
<ul>
<li><a href="Oturma_Odasi.aspx">Oturma Odası<li>
<li><a href="Yatak_Odasi.aspx">Yatak Odası</a></li>
<li><a href="Mutfak.aspx">Mutfak</a></li>
<li><a href="Cocuk_Odasi.aspx">Çocuk Odası</a></li>
<li><a href="Banyo.aspx">Banyo</a></li>
<li><a href="Yemek_Odasi.aspx">Yemek Odası</a></li>
<li><a href="Cok_Amacli.aspx">Çok Amaçlı</a></li>
<li><a href="urun.aspx">Mobilya</a></li>
</ul>
</div>
<div id="liste">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="id" DataSourceID="SqlDataSource1" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4"
ForeColor="Black" GridLines="Horizontal">
<Columns>
<asp:BoundField DataField="id" HeaderText="İD" InsertVisible="False"
ReadOnly="True" SortExpression="id" />
<asp:BoundField DataField="no" HeaderText="NO" SortExpression="no" />
<asp:BoundField DataField="m_adi" HeaderText="MOBİLYA ADI"
SortExpression="m_adi" />
<asp:ImageField DataImageUrlField="m_resim_yolu" HeaderText="MOBİLYA RESİM">
<ItemStyle Height="25px" Width="25px" />
</asp:ImageField>
<asp:BoundField DataField="m_boyut" HeaderText="MOBİLYA ÖLÇÜLERİ"
SortExpression="m_boyut" />
<asp:BoundField DataField="m_renk" HeaderText="MOBİLYA RENK"
SortExpression="m_renk" />
<asp:BoundField DataField="agac_cinsi" HeaderText="AĞAÇ CİNSİ"
SortExpression="agac_cinsi" />
<asp:BoundField DataField="fiyat" HeaderText="FİYAT"
SortExpression="fiyat" />
<asp:BoundField DataField="indirim_fiyat" HeaderText="İNDİRİMLİ FİYAT"
SortExpression="indirim_fiyat" />
<asp:BoundField DataField="kategori" HeaderText="KATEGORİ"
SortExpression="kategori" />
</Columns>
<FooterStyle BackColor="#CCCC99" ForeColor="Black" />
<HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F7F7F7" />
<SortedAscendingHeaderStyle BackColor="#4B4B4B" />
<SortedDescendingCellStyle BackColor="#E5E5E5" />
<SortedDescendingHeaderStyle BackColor="#242121" />
</asp:GridView>
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:bag %>"
SelectCommand="SELECT * FROM [yemek_odasi]"></asp:SqlDataSource>
</div>
</asp:Content>