質問編集履歴

2

書き間違いのため

2021/10/26 08:08

投稿

tototan
tototan

スコア34

test CHANGED
File without changes
test CHANGED
@@ -172,6 +172,8 @@
172
172
 
173
173
  {
174
174
 
175
+           DataTable dt = new DataTable();
176
+
175
177
  var com = sqlCon.CreateCommand();
176
178
 
177
179
  comm.CommandText = "SELECT * FROM TBL_1";
@@ -182,11 +184,7 @@
182
184
 
183
185
  }
184
186
 
185
-
186
-
187
- DataTable dt = new DataTable();
187
+
188
-
189
-
190
188
 
191
189
  Repeater1.DataSource = dt;
192
190
 

1

書き間違いのため

2021/10/26 08:08

投稿

tototan
tototan

スコア34

test CHANGED
File without changes
test CHANGED
@@ -24,85 +24,125 @@
24
24
 
25
25
  ```aspx
26
26
 
27
- <tr class="col-md-3">
28
-
29
- <td style="border: none;">
30
-
31
- <asp:Label ID="lblReservationNoTitle" runat="server" Text="予約番号" Font-Bold="True"></asp:Label></td>
32
-
33
- <td style="border: none;">
34
-
35
- <asp:Label ID="lblReservationNo" runat="server" ></asp:Label></td>
36
-
37
- <td style="border: none;">
38
-
39
- <asp:Label ID="lblLastUpdateTitle" runat="server" Text="最終更新日" Font-Bold="True"></asp:Label></td>
40
-
41
- <td style="border: none;">
42
-
43
- <asp:Label ID="lblLastUpdate" runat="server" Text="2021年4月25日 17時32分"></asp:Label></td>
44
-
45
- </tr>
46
-
47
- <tr class="col-md-3">
48
-
49
- <td style="border: none;">
50
-
51
- <asp:Label ID="lblUseDayTitle" runat="server" Text="ご利用日" Font-Bold="True"></asp:Label></td>
52
-
53
- <td style="border: none;">
54
-
55
- <asp:Label ID="lblUseDay" runat="server" Text="2021年5月8日(土)"></asp:Label></td>
56
-
57
- <td style="border: none;">
58
-
59
- <asp:Label ID="lblGameStartTimeTitle" runat="server" Text="開始時間" Font-Bold="True"></asp:Label></td>
60
-
61
- <td style="border: none;">
62
-
63
- <asp:Label ID="lblGameStartTime" runat="server" Text="18:00~"></asp:Label></td>
64
-
65
- </tr>
66
-
67
- <tr class="col-md-3">
68
-
69
- <td style="border: none;">
70
-
71
- <asp:Label ID="lblGameCardTitle" runat="server" Text="対戦カード" Font-Bold="True"></asp:Label></td>
72
-
73
- <td style="border: none;">
74
-
75
- <asp:Label ID="lblGameCard" runat="server" Text="オリックス vs 巨人"></asp:Label></td>
76
-
77
- <td style="border: none;">
78
-
79
- <asp:Label ID="lblOpeningTimeTitle" runat="server" Text="開場時間" Font-Bold="True"></asp:Label></td>
80
-
81
- <td style="border: none;">
82
-
83
- <asp:Label ID="lblOpeningTime" runat="server" Text="16:00~"></asp:Label></td>
84
-
85
- </tr>
86
-
87
- <tr class="col-md-3">
88
-
89
- <td style="border: none;">
90
-
91
- <asp:Label ID="lblRoomNoTitle" runat="server" Text="部屋番号" Font-Bold="True"></asp:Label></td>
92
-
93
- <td style="border: none;">
94
-
95
- <asp:Label ID="lblRoomNo" runat="server" Text="999号室(定員:12名)"></asp:Label></td>
96
-
97
- <td style="border: none;">
98
-
99
- <asp:Label ID="lblUserNoTitle" runat="server" Text="ご利用人数" Font-Bold="True"></asp:Label></td>
100
-
101
- <td style="border: none;">
102
-
103
- <asp:Label ID="lblUserNo" runat="server" Text="8名"></asp:Label></td>
104
-
105
- </tr>
27
+ <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
28
+
29
+
30
+
31
+ <%--ヘッダ--%>
32
+
33
+ <asp:Panel ID="Pnl84H" runat="server">
34
+
35
+ <div class="container" style="">
36
+
37
+ <div class="row">
38
+
39
+ <div style= "padding: 0px; text-align: center">
40
+
41
+ <asp:CheckBox ID="chk_no0" runat="server" Checked="False" AutoPostBack="True" OnCheckedChanged="Ch_no0_CheckedChanged" />
42
+
43
+ </div>
44
+
45
+ <div style="padding: 0px; text-align: center; border: solid; border-width: 1px;">
46
+
47
+ <span id="Label1" class="tblheader1">No</span>
48
+
49
+ </div>
50
+
51
+ <div >
52
+
53
+ <div class="row">
54
+
55
+ <div style="border: solid; border-width: 1px;">
56
+
57
+ <span id="Label2" >名前</span>&nbsp;&nbsp;
58
+
59
+ </div>
60
+
61
+ <div style=" border: solid; border-width: 1px;">
62
+
63
+ <span id="Label3" >メールアドレス</span>
64
+
65
+ </div>
66
+
67
+ <div style=" border: solid; border-width: 1px;">
68
+
69
+ <span id="Label4" >電話番号</span>
70
+
71
+ </div>
72
+
73
+ </div>
74
+
75
+ </div>
76
+
77
+ </div>
78
+
79
+ </div>
80
+
81
+ </asp:Panel>
82
+
83
+
84
+
85
+
86
+
87
+ <%--明細--%>
88
+
89
+ <asp:Panel ID="Pnl84" runat="server">
90
+
91
+ <div class="container" style="">
92
+
93
+ <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
94
+
95
+ <ItemTemplate>
96
+
97
+ <div class="row">
98
+
99
+ <div style="padding: 0px; text-align: center; border: solid; border-width: 1px;">
100
+
101
+ <asp:CheckBox ID="chk_no1" runat="server" />
102
+
103
+ </div>
104
+
105
+ <div >
106
+
107
+ <div class="row">
108
+
109
+ <div style="border: solid; border-width: 1px;">
110
+
111
+ <asp:TextBox ID="txtName_1" runat="server" Text='<%# Eval("NAME") %>' Enabled="False" BorderStyle="None"></asp:TextBox>
112
+
113
+ </div>
114
+
115
+ <div style="border: solid; border-width: 1px;">
116
+
117
+ <asp:TextBox ID="txtMail_1" runat="server" Text='<%# Eval("MAIL") %>' Enabled="False" BorderStyle="None"></asp:TextBox>
118
+
119
+ </div>
120
+
121
+ <div style="border: solid; border-width: 1px;">
122
+
123
+
124
+
125
+ <asp:Label ID="lblTel_1" runat="server" Text='<%# Eval("TEL") %>'></asp:Label>
126
+
127
+ </div>
128
+
129
+ </div>
130
+
131
+ </div>
132
+
133
+ </div>
134
+
135
+ </ItemTemplate>
136
+
137
+ </asp:Repeater>
138
+
139
+ </div>
140
+
141
+ </asp:Panel>
142
+
143
+
144
+
145
+ </asp:Content>
106
146
 
107
147
  ```
108
148