質問編集履歴

1

コードの1行の記載を短くしました。

2019/12/22 19:16

投稿

Ecarlat
Ecarlat

スコア6

test CHANGED
File without changes
test CHANGED
@@ -24,13 +24,11 @@
24
24
 
25
25
  そのため、上記のaspxファイルに、GridViewに連携させたDetailViewを追加し、データの追加、編集、削除などはDetailsViewで実施させようと思ったのですが、Webで開いても本来GridViewに表示するはずの元データ(絞込みする間には全データが表示するはず)自体が、表示しなくなってしまいました。
26
26
 
27
- GridViewとDetailsViewは「Report_Id」をキーに連携させいるつりなですが、サンプルコードツギハギで作成しいるので
27
+ GridViewとDetailsViewは「Report_Id」をキーに連携のどこかに問題があるのだと思い調べは見たもののなかなか解決に至っおりません。
28
-
29
- どこが悪さをしているのか、進展がありません。
28
+
30
-
31
-
32
-
29
+
30
+
33
- 確認すべき箇所、あるいはこのようなコードを記載する際の注意点、問題点ズバリでもご教示いただけないでしょうか。
31
+ 確認すべき箇所、あるいはこのようなコードを記載する際の注意点ご教示いただけないでしょうか。
34
32
 
35
33
  不足情報あれば、追記するようにします・
36
34
 
@@ -38,226 +36,612 @@
38
36
 
39
37
 
40
38
 
41
- 検索条件入力部分は文字数の関係で割愛しています。
42
-
43
- そちらのコードが必要な場合はその旨コメントください。
44
-
45
-
46
-
47
39
  ```
48
40
 
49
- <asp:GridView font-size="12pt" ID="GridView1" runat="server" DataKeyNames="Report_Id" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowSorting="True" CellPadding="3" ForeColor="Black" GridLines="Vertical" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px">
50
-
51
- <Columns>
52
-
53
- <asp:CommandField ShowSelectButton="True" ButtonType="Button" />
54
-
55
- <asp:HyperLinkField DataNavigateUrlFields="File_Name" DataNavigateUrlFormatString="/Report_Strage/{0}" DataTextField="Visit_Date" DataTextFormatString="{0:yyyy/MM/dd}" HeaderText="面談日" SortExpression="Visit_Date">
56
-
57
- <HeaderStyle HorizontalAlign="Center" />
58
-
59
- <ItemStyle Width="100px" HorizontalAlign="Center" />
60
-
61
- </asp:HyperLinkField>
62
-
63
- <asp:TemplateField HeaderText="顧客名" SortExpression="Customer_NameEng">
64
-
65
- <ItemTemplate>
66
-
67
- <asp:Label id="Label1" runat="server" Text='<%# Bind("Customer_NameEng") %>'></asp:Label>
68
-
69
- <br />
70
-
71
- <asp:Label id="Label2" runat="server" Text='<%# Bind("Customer_NameLoc") %>'></asp:Label>
72
-
73
- </ItemTemplate>
74
-
75
- <HeaderStyle HorizontalAlign="Center" />
76
-
77
- <ItemStyle Width="250px" />
78
-
79
- </asp:TemplateField>
80
-
81
- <asp:BoundField DataField="Customer_Country" HeaderText="所在国" SortExpression="Customer_Country">
82
-
83
- <HeaderStyle HorizontalAlign="Center" />
84
-
85
- <ItemStyle Width="100px" />
86
-
87
- </asp:BoundField>
88
-
89
- <asp:BoundField DataField="Supply_Product" HeaderText="供給製品" SortExpression="Supply_Product">
90
-
91
- <HeaderStyle HorizontalAlign="Center" />
92
-
93
- <ItemStyle Width="150px" />
94
-
95
- </asp:BoundField>
96
-
97
- <asp:BoundField DataField="Apprication" HeaderText="使用用途" SortExpression="Apprication">
98
-
99
- <HeaderStyle HorizontalAlign="Center" />
100
-
101
- <ItemStyle Width="300px" />
102
-
103
- </asp:BoundField>
104
-
105
- <asp:BoundField DataField="Reporter_Name" HeaderText="報告者" SortExpression="Reporter_Name">
106
-
107
- <HeaderStyle HorizontalAlign="Center" />
108
-
109
- <ItemStyle Width="100px" />
110
-
111
- </asp:BoundField>
112
-
113
- <asp:BoundField DataField="Reporter_Section" HeaderText="報告部署" SortExpression="Reporter_Section">
114
-
115
- <HeaderStyle HorizontalAlign="Center" />
116
-
117
- <ItemStyle Width="150px" />
118
-
119
- </asp:BoundField>
120
-
121
- <asp:BoundField DataField="Report_Id" HeaderText="Report_Id" InsertVisible="False" ReadOnly="True" SortExpression="Report_Id" Visible="False" />
122
-
123
- </Columns>
124
-
125
-
126
-
127
- <EmptyDataTemplate>
128
-
129
- <asp:Label id="Label4" runat="server" ForeColor="Red" Text="該当するデータがありません。&lt;br&gt;抽出条件を指定してから「検索」ボタンをクリックしてください。"></asp:Label>
130
-
131
- </EmptyDataTemplate>
132
-
133
- </asp:GridView>
134
-
135
-
136
-
137
- &nbsp;<asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="200px" AutoGenerateRows="False" CellPadding="4" DataKeyNames="Report_Id" DataSourceID="SqlDataSource1" DefaultMode="Insert" ForeColor="#333333" GridLines="None" AllowPaging="True">
138
-
139
- <Fields>
140
-
141
- <asp:BoundField DataField="Reporter_Name" HeaderText="報告者" SortExpression="Reporter_Name" />
142
-
143
- <asp:BoundField DataField="Reporter_Section" HeaderText="報告部署" SortExpression="Reporter_Section" />
144
-
145
- <asp:BoundField DataField="Visit_Year" HeaderText="Visit_Year" SortExpression="Visit_Year" />
146
-
147
- <asp:BoundField DataField="Visit_Date" HeaderText="訪問日" SortExpression="Visit_Date" />
148
-
149
- <asp:BoundField DataField="Customer_NameLoc" HeaderText="顧客名" SortExpression="Customer_NameLoc" />
150
-
151
- <asp:BoundField DataField="Customer_NameEng" HeaderText="顧客名(英語)" SortExpression="Customer_NameEng" />
152
-
153
- <asp:BoundField DataField="Customer_Country" HeaderText="所在国" SortExpression="Customer_Country" />
154
-
155
- <asp:BoundField DataField="Supply_Product" HeaderText="供給製品" SortExpression="Supply_Product" />
156
-
157
- <asp:BoundField DataField="Apprication" HeaderText="使用用途" SortExpression="Apprication" />
158
-
159
- <asp:BoundField DataField="File_Name" HeaderText="報告書ファイル名" SortExpression="File_Name" />
160
-
161
- <asp:CommandField ButtonType="Button" ShowInsertButton="True" ShowDeleteButton="True" ShowEditButton="True" />
162
-
163
- </Fields>
164
-
165
- </asp:DetailsView>
166
-
167
-
168
-
169
- &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
41
+ <asp:GridView
42
+
43
+  ID="GridView1"
44
+
45
+  runat="server"
46
+
47
+  DataKeyNames="Report_Id"
48
+
49
+  AutoGenerateColumns="False"
50
+
51
+  DataSourceID="SqlDataSource1">
52
+
53
+  <Columns>
54
+
55
+   <asp:CommandField
56
+
57
+    ShowSelectButton="True"
58
+
59
+    ButtonType="Button" />
60
+
61
+   <asp:HyperLinkField
62
+
63
+    DataNavigateUrlFields="File_Name"
64
+
65
+    DataNavigateUrlFormatString="/Report_Strage/{0}"
66
+
67
+    DataTextField="Visit_Date"
68
+
69
+    DataTextFormatString="{0:yyyy/MM/dd}"
70
+
71
+    HeaderText="面談日">
72
+
73
+   </asp:HyperLinkField>
74
+
75
+   <asp:TemplateField
76
+
77
+     HeaderText="顧客名">
78
+
79
+    <ItemTemplate>
80
+
81
+     <asp:Label
82
+
83
+      id="Label1"
84
+
85
+      runat="server"
86
+
87
+      Text='<%# Bind("Customer_NameEng") %>'>
88
+
89
+     </asp:Label><br />
90
+
91
+     <asp:Label
92
+
93
+      id="Label2"
94
+
95
+      runat="server"
96
+
97
+      Text='<%# Bind("Customer_NameLoc") %>'>
98
+
99
+     </asp:Label>
100
+
101
+    </ItemTemplate>
102
+
103
+   </asp:TemplateField>
104
+
105
+
106
+
107
+   <asp:BoundField
108
+
109
+    DataField="Customer_Country"
110
+
111
+    HeaderText="所在国">
112
+
113
+   </asp:BoundField>
114
+
115
+   <asp:BoundField
116
+
117
+    DataField="Supply_Product"
118
+
119
+    HeaderText="供給製品">
120
+
121
+   </asp:BoundField>
122
+
123
+   <asp:BoundField
124
+
125
+    DataField="Apprication"
126
+
127
+    HeaderText="使用用途">
128
+
129
+   </asp:BoundField>
130
+
131
+   <asp:BoundField
132
+
133
+    DataField="Reporter_Name"
134
+
135
+    HeaderText="報告">
136
+
137
+   </asp:BoundField>
138
+
139
+   <asp:BoundField
140
+
141
+    DataField="Reporter_Section"
142
+
143
+    HeaderText="報告部署">
144
+
145
+   </asp:BoundField>
146
+
147
+   <asp:BoundField
148
+
149
+    DataField="Report_Id"
150
+
151
+    HeaderText="Report_Id"
152
+
153
+    InsertVisible="False"
154
+
155
+    ReadOnly="True"
156
+
157
+    Visible="False" />
158
+
159
+  </Columns>
160
+
161
+  <EmptyDataTemplate>
162
+
163
+   <asp:Label
164
+
165
+    id="Label4"
166
+
167
+    runat="server"
168
+
169
+    Text="該当するデータがありません。&lt;br&gt;抽出条件を指定してから「検索」ボタンをクリックしてください。">
170
+
171
+   </asp:Label>
172
+
173
+  </EmptyDataTemplate>
174
+
175
+ </asp:GridView>
176
+
177
+
178
+
179
+ <asp:DetailsView
180
+
181
+  ID="DetailsView1"
182
+
183
+  runat="server"
184
+
185
+  AutoGenerateRows="False"
186
+
187
+  DataKeyNames="Report_Id"
188
+
189
+  DataSourceID="SqlDataSource1"
190
+
191
+  DefaultMode="Insert">
192
+
193
+  <Fields>
194
+
195
+   <asp:BoundField
196
+
197
+    DataField="Reporter_Name"
198
+
199
+    HeaderText="報告者" />
200
+
201
+   <asp:BoundField
202
+
203
+    DataField="Reporter_Section"
204
+
205
+    HeaderText="報告部署" />
206
+
207
+   <asp:BoundField
208
+
209
+    DataField="Visit_Year"
210
+
211
+    HeaderText="Visit_Year" />
212
+
213
+   <asp:BoundField
214
+
215
+    DataField="Visit_Date"
216
+
217
+    HeaderText="訪問日" />
218
+
219
+   <asp:BoundField
220
+
221
+    DataField="Customer_NameLoc"
222
+
223
+    HeaderText="顧客名" />
224
+
225
+   <asp:BoundField
226
+
227
+    DataField="Customer_NameEng"
228
+
229
+    HeaderText="顧客名(英語)" />
230
+
231
+   <asp:BoundField
232
+
233
+    DataField="Customer_Country"
234
+
235
+    HeaderText="所在国" />
236
+
237
+   <asp:BoundField
238
+
239
+    DataField="Supply_Product"
240
+
241
+    HeaderText="供給製品" />
242
+
243
+   <asp:BoundField
244
+
245
+    DataField="Apprication"
246
+
247
+    HeaderText="使用用途" />
248
+
249
+   <asp:BoundField
250
+
251
+    DataField="File_Name"
252
+
253
+    HeaderText="報告書ファイル名" />
254
+
255
+   <asp:CommandField
256
+
257
+    ButtonType="Button"
258
+
259
+    ShowInsertButton="True"
260
+
261
+    ShowDeleteButton="True"
262
+
263
+    ShowEditButton="True" />
264
+
265
+  </Fields>
266
+
267
+ </asp:DetailsView>
268
+
269
+
270
+
271
+ <asp:SqlDataSource
272
+
273
+  ID="SqlDataSource1"
274
+
275
+  runat="server"
276
+
277
+  ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
170
278
 
171
279
   DeleteCommand="DELETE FROM [Tbl_Data_Report] WHERE [Report_Id] = ?"
172
280
 
173
-  InsertCommand="INSERT INTO [Tbl_Data_Report] ([Report_Id], [Reporter_Name], [Reporter_Section], [Visit_Year], [Customer_NameLoc], [Customer_NameEng], [Customer_Country], [Supply_Product], [Apprication], [File_Name]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
174
-
175
-  SelectCommand="SELECT * FROM [Tbl_Data_Report] WHERE (([Visit_Year] LIKE '%' + ? + '%') AND ([Reporter_Name] LIKE '%' + ? + '%') AND ([Customer_Country] LIKE '%' + ? + '%') AND ([Reporter_Section] LIKE '%' + ? + '%') AND ([Customer_NameEng] LIKE '%' + ? + '%') AND ([Apprication] LIKE '%' + ? + '%') AND ([Supply_Product] LIKE '%' + ? + '%')) ORDER BY [Visit_Date] DESC, [Customer_NameEng]"
176
-
177
-  UpdateCommand="UPDATE [Tbl_Data_Report] SET [Reporter_Name] = ?, [Reporter_Section] = ?, [Visit_Year] = ?, [Customer_NameLoc] = ?, [Customer_NameEng] = ?, [Customer_Country] = ?, [Supply_Product] = ?, [Apprication] = ?, [File_Name] = ? WHERE [Report_Id] = ?">
178
-
179
- <DeleteParameters>
180
-
181
- <asp:Parameter Name="Report_Id" Type="Int32" />
182
-
183
- </DeleteParameters>
184
-
185
- <InsertParameters>
186
-
187
- <asp:Parameter Name="Report_Id" Type="Int32" />
188
-
189
- <asp:Parameter Name="Reporter_Name" Type="String" />
190
-
191
- <asp:Parameter Name="Reporter_Section" Type="String" />
192
-
193
- <asp:Parameter Name="Visit_Year" Type="String" />
194
-
195
- <asp:Parameter Name="Customer_NameLoc" Type="String" />
196
-
197
- <asp:Parameter Name="Customer_NameEng" Type="String" />
198
-
199
- <asp:Parameter Name="Customer_Country" Type="String" />
200
-
201
- <asp:Parameter Name="Supply_Product" Type="String" />
202
-
203
- <asp:Parameter Name="Apprication" Type="String" />
204
-
205
- <asp:Parameter Name="File_Name" Type="String" />
206
-
207
- </InsertParameters>
208
-
209
- <SelectParameters>
210
-
211
- <asp:ControlParameter ControlID="DropDownList1" DefaultValue="%" Name="Visit_Year" PropertyName="SelectedValue" Type="String" />
212
-
213
- <asp:ControlParameter ControlID="DropDownList2" DefaultValue="%" Name="Reporter_Name" PropertyName="SelectedValue" Type="String" />
214
-
215
- <asp:ControlParameter ControlID="DropDownList3" DefaultValue="%" Name="Customer_Country" PropertyName="SelectedValue" Type="String" />
216
-
217
- <asp:ControlParameter ControlID="DropDownList4" DefaultValue="%" Name="Reporter_Section" PropertyName="SelectedValue" Type="String" />
218
-
219
- <asp:ControlParameter ControlID="TextBox1" DefaultValue="%" Name="Customer_NameEng" PropertyName="Text" Type="String" />
220
-
221
- <asp:ControlParameter ControlID="TextBox2" DefaultValue="%" Name="Apprication" PropertyName="Text" Type="String" />
222
-
223
- <asp:ControlParameter ControlID="DropDownList5" DefaultValue="%" Name="Supply_Product" PropertyName="SelectedValue" Type="String" />
224
-
225
- <asp:Parameter Name="Report_Id" Type="Int32" />
226
-
227
- </SelectParameters>
228
-
229
- <UpdateParameters>
230
-
231
- <asp:Parameter Name="Reporter_Name" Type="String" />
232
-
233
- <asp:Parameter Name="Reporter_Section" Type="String" />
234
-
235
- <asp:Parameter Name="Visit_Year" Type="String" />
236
-
237
- <asp:Parameter Name="Customer_NameLoc" Type="String" />
238
-
239
- <asp:Parameter Name="Customer_NameEng" Type="String" />
240
-
241
- <asp:Parameter Name="Customer_Country" Type="String" />
242
-
243
- <asp:Parameter Name="Supply_Product" Type="String" />
244
-
245
- <asp:Parameter Name="Apprication" Type="String" />
246
-
247
- <asp:Parameter Name="File_Name" Type="String" />
248
-
249
- <asp:Parameter Name="Report_Id" Type="Int32" />
250
-
251
- </UpdateParameters>
252
-
253
- </asp:SqlDataSource>
281
+  InsertCommand="INSERT INTO [Tbl_Data_Report] ([Report_Id], [Reporter_Name], [Reporter_Section], [Visit_Year],
282
+
283
+   [Customer_NameLoc], [Customer_NameEng], [Customer_Country], [Supply_Product], [Apprication], [File_Name])
284
+
285
+   VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
286
+
287
+  ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
288
+
289
+  SelectCommand="SELECT * FROM [Tbl_Data_Report]
290
+
291
+   WHERE (([Visit_Year] LIKE '%' + ? + '%') AND ([Reporter_Name] LIKE '%' + ? + '%') AND ([Customer_Country] LIKE '%' + ? + '%')
292
+
293
+   AND ([Reporter_Section] LIKE '%' + ? + '%') AND ([Customer_NameEng] LIKE '%' + ? + '%')
294
+
295
+   AND ([Apprication] LIKE '%' + ? + '%') AND ([Supply_Product] LIKE '%' + ? + '%'))
296
+
297
+   OR (([Visit_Year] LIKE '%' + ? + '%') AND ([Reporter_Name] LIKE '%' + ? + '%') AND ([Customer_Country] LIKE '%' + ? + '%')
298
+
299
+   AND ([Reporter_Section] LIKE '%' + ? + '%') AND ([Customer_NameLoc] LIKE '%' + ? + '%')
300
+
301
+   AND ([Apprication] LIKE '%' + ? + '%') AND ([Supply_Product] LIKE '%' + ? + '%'))
302
+
303
+   ORDER BY [Visit_Date] DESC, [Customer_NameEng]"
304
+
305
+  UpdateCommand="UPDATE [Tbl_Data_Report] SET [Reporter_Name] = ?, [Reporter_Section] = ?, [Visit_Year] = ?,
306
+
307
+   [Customer_NameLoc] = ?, [Customer_NameEng] = ?, [Customer_Country] = ?, [Supply_Product] = ?, [Apprication] = ?,
308
+
309
+   [File_Name] = ? WHERE [Report_Id] = ?">
310
+
311
+
312
+
313
+ <DeleteParameters>
314
+
315
+  <asp:Parameter
316
+
317
+   Name="Report_Id"
318
+
319
+   Type="Int32" />
320
+
321
+ </DeleteParameters>
322
+
323
+
324
+
325
+ <InsertParameters>
326
+
327
+  <asp:Parameter
328
+
329
+   Name="Report_Id"
330
+
331
+   Type="Int32" />
332
+
333
+  <asp:Parameter
334
+
335
+   Name="Reporter_Name"
336
+
337
+   Type="String" />
338
+
339
+  <asp:Parameter
340
+
341
+   Name="Reporter_Section"
342
+
343
+   Type="String" />
344
+
345
+  <asp:Parameter
346
+
347
+   Name="Visit_Year"
348
+
349
+   Type="String" />
350
+
351
+  <asp:Parameter
352
+
353
+   Name="Customer_NameLoc"
354
+
355
+   Type="String" />
356
+
357
+  <asp:Parameter
358
+
359
+   Name="Customer_NameEng"
360
+
361
+   Type="String" />
362
+
363
+  <asp:Parameter
364
+
365
+   Name="Customer_Country"
366
+
367
+   Type="String" />
368
+
369
+  <asp:Parameter
370
+
371
+   Name="Supply_Product"
372
+
373
+   Type="String" />
374
+
375
+  <asp:Parameter
376
+
377
+   Name="Apprication"
378
+
379
+   Type="String" />
380
+
381
+  <asp:Parameter
382
+
383
+   Name="File_Name"
384
+
385
+   Type="String" />
386
+
387
+ </InsertParameters>
388
+
389
+
390
+
391
+ <SelectParameters>
392
+
393
+  <asp:ControlParameter
394
+
395
+   ControlID="DropDownList1"
396
+
397
+   DefaultValue="%"
398
+
399
+   Name="Visit_Year"
400
+
401
+   PropertyName="SelectedValue"
402
+
403
+   Type="String" />
404
+
405
+  <asp:ControlParameter
406
+
407
+   ControlID="DropDownList2"
408
+
409
+   DefaultValue="%"
410
+
411
+   Name="Reporter_Name"
412
+
413
+   PropertyName="SelectedValue"
414
+
415
+   Type="String" />
416
+
417
+  <asp:ControlParameter
418
+
419
+   ControlID="DropDownList3"
420
+
421
+   DefaultValue="%"
422
+
423
+   Name="Customer_Country"
424
+
425
+   PropertyName="SelectedValue"
426
+
427
+   Type="String" />
428
+
429
+  <asp:ControlParameter
430
+
431
+   ControlID="DropDownList4"
432
+
433
+   DefaultValue="%"
434
+
435
+   Name="Reporter_Section"
436
+
437
+   PropertyName="SelectedValue"
438
+
439
+   Type="String" />
440
+
441
+  <asp:ControlParameter
442
+
443
+   ControlID="TextBox1"
444
+
445
+   DefaultValue="%"
446
+
447
+   Name="Customer_NameEng"
448
+
449
+   PropertyName="Text"
450
+
451
+   Type="String" />
452
+
453
+  <asp:ControlParameter
454
+
455
+   ControlID="TextBox2"
456
+
457
+   DefaultValue="%"
458
+
459
+   Name="Apprication"
460
+
461
+   PropertyName="Text"
462
+
463
+   Type="String" />
464
+
465
+  <asp:ControlParameter
466
+
467
+   ControlID="DropDownList5"
468
+
469
+   DefaultValue="%"
470
+
471
+   Name="Supply_Product"
472
+
473
+   PropertyName="SelectedValue"
474
+
475
+   Type="String" />
476
+
477
+  <asp:Parameter
478
+
479
+   Name="Report_Id"
480
+
481
+   Type="Int32" />
482
+
483
+  <asp:ControlParameter
484
+
485
+   ControlID="DropDownList1"
486
+
487
+   DefaultValue="%"
488
+
489
+   Name="Visit_Year"
490
+
491
+   PropertyName="SelectedValue"
492
+
493
+   Type="String" />
494
+
495
+  <asp:ControlParameter
496
+
497
+   ControlID="DropDownList2"
498
+
499
+   DefaultValue="%"
500
+
501
+   Name="Reporter_Name"
502
+
503
+   PropertyName="SelectedValue"
504
+
505
+   Type="String" />
506
+
507
+  <asp:ControlParameter
508
+
509
+   ontrolID="DropDownList3"
510
+
511
+   DefaultValue="%"
512
+
513
+   Name="Customer_Country"
514
+
515
+   PropertyName="SelectedValue"
516
+
517
+   Type="String" />
518
+
519
+  <asp:ControlParameter
520
+
521
+   ControlID="DropDownList4"
522
+
523
+   DefaultValue="%"
524
+
525
+   Name="Reporter_Section"
526
+
527
+   PropertyName="SelectedValue"
528
+
529
+   Type="String" />
530
+
531
+  <asp:ControlParameter
532
+
533
+   ControlID="TextBox1"
534
+
535
+   DefaultValue="%"
536
+
537
+   Name="Customer_NameLoc"
538
+
539
+   PropertyName="Text"
540
+
541
+   Type="String" />
542
+
543
+  <asp:ControlParameter
544
+
545
+   ControlID="TextBox2"
546
+
547
+   DefaultValue="%"
548
+
549
+   Name="Apprication"
550
+
551
+   PropertyName="Text"
552
+
553
+   Type="String" />
554
+
555
+  <asp:ControlParameter
556
+
557
+   ControlID="DropDownList5"
558
+
559
+   DefaultValue="%"
560
+
561
+   Name="Supply_Product"
562
+
563
+   PropertyName="SelectedValue"
564
+
565
+   Type="String" />
566
+
567
+  <asp:Parameter
568
+
569
+   Name="Report_Id"
570
+
571
+   Type="Int32" />
572
+
573
+ </SelectParameters>
574
+
575
+
576
+
577
+ <UpdateParameters>
578
+
579
+  <asp:Parameter
580
+
581
+   Name="Reporter_Name"
582
+
583
+   Type="String" />
584
+
585
+  <asp:Parameter
586
+
587
+   Name="Reporter_Section"
588
+
589
+   Type="String" />
590
+
591
+  <asp:Parameter
592
+
593
+   Name="Visit_Year"
594
+
595
+   Type="String" />
596
+
597
+  <asp:Parameter
598
+
599
+   Name="Customer_NameLoc"
600
+
601
+   Type="String" />
602
+
603
+  <asp:Parameter
604
+
605
+   Name="Customer_NameEng"
606
+
607
+   Type="String" />
608
+
609
+  <asp:Parameter
610
+
611
+   Name="Customer_Country"
612
+
613
+   Type="String" />
614
+
615
+  <asp:Parameter
616
+
617
+   Name="Supply_Product"
618
+
619
+   Type="String" />
620
+
621
+  <asp:Parameter
622
+
623
+   Name="Apprication"
624
+
625
+   Type="String" />
626
+
627
+  <asp:Parameter
628
+
629
+   Name="File_Name"
630
+
631
+   Type="String" />
632
+
633
+  <asp:Parameter
634
+
635
+   Name="Report_Id"
636
+
637
+   Type="Int32" />
638
+
639
+  </UpdateParameters>
640
+
641
+ </asp:SqlDataSource>
254
642
 
255
643
 
256
644
 
257
645
  </asp:Content>
258
646
 
259
-
260
-
261
-
262
-
263
647
  ```