[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.8

Data Format in Details Page

Asked by japaneseusedcars in Adobe Dreamweaver, C# Programming Language, Programming for ASP.NET

Tags: details, format, page

Hello,

Probably a simple question.

I have a master and details page made in Dreamweaver.

In the master page I use:
DataFormatString="{0:N0}"

I want to format the same data in the details page too but am struggling to do so.  I have:
<%# ds_stock.FieldValue("Y", Container) %>

What do I need to do to format the data to disply the same as the master page?

Master page and Details page code attached.
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:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
MASTER PAGE
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
<%@ Reference Page="Search_daihatsu.aspx" %>
<script runat="server">
protected void dg_stock_SortCommand(Object sender, DataGridSortCommandEventArgs e)
{
 // This function allows us to sort on the headers in the datagrid.
 // Need these two attributes in the Datagrid:
 // 	AllowSorting="true" 
 // 	OnSortCommand="dg_employees_SortCommand"
 // Each BoundColumn (or TemplateColumn) that allows sorting needs this attribute:
 // 	SortExpression="<column_name>" where <column_name> is the name of the column in the database
 // The value of the SortExpression is used in the query string "sortOn".
 // The query string is used in the ternary expression in the 
 // dataset (ds_employees) for the ORDER BY clause in the CommandText.
 
 string sortDir = "";
 if (Request.QueryString["sortOn"] == e.SortExpression)
 {
	     // The sort expression matches what was sorted on last time 
   	  if (Request.QueryString["sortDir"] == "")
	     {
		     sortDir = "ASC";
	     }
	     else if (Request.QueryString["sortDir"] == "ASC")
	     {
		     sortDir = "DESC"; 
	     }
	     else if (Request.QueryString["sortDir"] == "DESC")
	     {
		     sortDir = "ASC"; 
	     }
 }
 else
 {
	// Have a new sort expression so always start out ASC
	sortDir = "ASC";
 }
     
 // Redirect back to this page with the appropriate sort expression and direction.
 Response.Redirect(Request.ServerVariables["SCRIPT_NAME"] + "?sortOn=" + e.SortExpression + "&sortDir=" + sortDir);
}
</script>
 
 
 
<MM:DataSet 
id="ds_stock"
runat="Server"
IsStoredProcedure="false"
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_STRING_stock"] %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_DATABASETYPE_stock"] %>'
CommandText='<%# "SELECT * FROM dbo.daihatsu WHERE Manufactured <= @higher AND Manufactured >=@lower AND Y <= @Y AND Model LIKE @model ORDER BY ManufactuRed DESC" %>'
Debug="true"
>
  <Parameters>
<Parameter  Name="@higher"  Value='<%# ((Request.Form["higher"] != null) && (Request.Form["higher"].Length > 0)) ? Request.Form["higher"] : "" %>'  Type="NVarChar"   />
<Parameter  Name="@lower"  Value='<%# ((Request.Form["lower"] != null) && (Request.Form["lower"].Length > 0)) ? Request.Form["lower"] : "" %>'  Type="NVarChar"   />
<Parameter  Value='<%# ((Request.Form["Y"] != null) && (Request.Form["Y"].Length > 0)) ? Request.Form["Y"] : "" %>' direction="Input"  Name="@Y"  Type="Int"   />
<Parameter  Name="@model"  Value='<%# (((Request.Form["model"] != null) && (Request.Form["model"].Length > 0)) ? Request.Form["model"] : "") + "" %>'  Type="NVarChar"   />
</Parameters></MM:DataSet>
<MM:PageBind runat="server" PostBackBind="true" />
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<title>Japanese Car Auctions Search Results</title>
 
<link rel="stylesheet" type="text/css" href="../../anylink.css" />
 
<script type="text/javascript" src="../../anylink.js">
 
/***********************************************
* AnyLink CSS Menu script- c Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
 
</script>
 
 
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
}
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
}
.style2 {
	color: #C72026;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;
	font-weight: bold;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #666666;
}
a:hover {
	text-decoration: none;
	color: #C72026;
}
a:active {
	text-decoration: none;
	color: #C72026;
}
img {
 border-style: none;
}
.style4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
}
-->
</style>
 
</head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
<script language="javascript" src="../../liveclock.js"></script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" align="left" valign="top"></td>
    <td width="580" align="left" valign="top" bgcolor="#FFFFFF"><table width="600" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="20" class="style1"><script language="javascript"><!--
new LiveClock('','1','#666666','#FFFFFF','<b>Japan Time: ','</b>','340','0','1','0','','+9');
//--></script></td>
      </tr>
      <tr>
        <td height="60"><div align="left"><a href="http://www.japaneseusedcars.com" target="_parent"><img src="../../../images/japaneseusedcars.gif" alt="japanese_used_cars" width="340" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/japanese_used_cars.htm" /></a><a href="/auction/auctions.htm" target="_parent"><img src="../../../images/auction.gif" alt="japanese auctions" width="260" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/japanese_auctions.htm" /></a></div></td>
      </tr>
      <tr>
        <td height="20"><!--#include file="../../top.htm" --></td>
      </tr>
      <tr>
        <td height="20">
				<form runat="server">
          <p>
  <asp:DataGrid 
  AllowPaging="false" 
  AllowSorting="false" 
  AutoGenerateColumns="false" BackColor="#000000" BorderWidth="0"
  CellPadding="3" 
  CellSpacing="0" 
  DataSource="<%# ds_stock.DefaultView %>" id="dg_stock" 
  runat="server" 
  ShowHeader="true" Width="90%" OnSortCommand="dg_stock_SortCommand" 
>
  <HeaderStyle BackColor="#FFFFFF" HorizontalAlign="Center" />          
  <ItemStyle BackColor="#F2F2F2" Font-Bold="true" Font-Name="Verdana, Arial, Helvetica, sans-serif" Font-Size="10px" />  <AlternatingItemStyle BackColor="#E5E5E5" Font-Name="Verdana, Arial, Helvetica, sans-serif" Font-Size="10px" />          
  <PagerStyle BackColor="#FFFFFF" Font-Bold="true" Font-Name="Verdana, Arial, Helvetica, sans-serif" Font-Size="10px"  />  
    <Columns>
    <asp:HyperLinkColumn HeaderText="Click Pic for Details"
		ItemStyle-HorizontalAlign="Center" 
        Visible="true"		
		DataNavigateUrlField="AuctionNo"
	    DataTextField="Pic1"	
        DataNavigateUrlFormatString="/auction/stock/detail_daihatsu.aspx?AuctionNo={0}"/>    
    <asp:BoundColumn DataField="Auctionno" 
        HeaderText="Details" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="Auctionno" 
        Visible="false" runat="server"/>    
    <asp:BoundColumn DataField="ManufactuRed" 
        HeaderText="Year" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="ManufactuRed" 
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="Model" 
        HeaderText="Model" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="Model" 
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="SubModel" 
        HeaderText="Type" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="SubModel" 
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="CC" 
        HeaderText="CC" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="CC" 
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="Fuel" 
        HeaderText="Fuel" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="Fuel" 
        Visible="False" runat="server"/>    
    <asp:BoundColumn DataField="Shift" 
        HeaderText="Shift" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="Shift" 
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="Mileage" 
        HeaderText="Mileage<br>(kms)" 
        ReadOnly="false" SortExpression="Mileage" 
		ItemStyle-HorizontalAlign="Right"
        Visible="true" runat="server"/>    
    <asp:BoundColumn DataField="AirCon" 
        HeaderText="Air<br>Con" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="true" 
        Visible="False"/>    
    <asp:BoundColumn DataField="Equipment" 
        HeaderText="Equipment" 
		ItemStyle-HorizontalAlign="Left"
        ReadOnly="true" 
        Visible="false"/>    
    <asp:BoundColumn DataField="Grade" 
        HeaderText="Grade" 
		ItemStyle-HorizontalAlign="Center"
        ReadOnly="false" SortExpression="Grade" 
        Visible="false" runat="server"/>    
    <asp:BoundColumn DataField="Y"
        HeaderText="FOB Price<br>(Yen)" 
		ItemStyle-HorizontalAlign="Right"
        ReadOnly="false"  SortExpression="Y"
		DataFormatString="{0:N0}"		
        Visible="true" runat="server"/>    
</Columns>
  </asp:DataGrid>
          </p>
          </form></td>
      </tr>
    </table>      </td>
    <td align="left" valign="top"><table width="140" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="140" height="20"></td>
      </tr>
      <tr>
        <td width="140" height="60"><div align="center"><a href="/descriptions/jumvea.htm"><img src="../../../images/jumvea_logo.jpg" alt="Japan Used Motor Vehicle Exporters Association" width="90" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/jumvea.htm" /></a></div></td>
      </tr>
      <tr>
        <td width="140" height="30" valign="top"><div align="center" class="style1">Exporters<br />
          Association Member </div></td>
      </tr>
      <tr>
        <td width="140" height="40" valign="top" class="style1"><div align="center">Used Car Dealer<br />
          License Number:<br />
          452780005589</div></td>
      </tr>
      <tr>
        <td height="30" valign="top" class="style1"><div align="center">Limited Company No:<br />
          0219-02-013191</div></td>
      </tr>
      <tr>
        <td height="30" valign="top" class="style1"><!--#include file="../../right.htm" --></td>
      </tr>
      <tr>
        <td class="style1"></td>
      </tr>
    </table>
 
    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
 
 
 
DETAILS PAGE
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
<MM:DataSet 
id="ds_stock"
runat="Server"
IsStoredProcedure="false"
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_STRING_stock"] %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_DATABASETYPE_stock"] %>'
CommandText='<%# "SELECT * FROM dbo.daihatsu WHERE AuctionNo = @AuctionNo" %>'
Debug="true"
><Parameters>
<Parameter  Name="@AuctionNo"  Value='<%# ((Request.QueryString["AuctionNo"] != null) && (Request.QueryString["AuctionNo"].Length > 0)) ? Request.QueryString["AuctionNo"] : "" %>'  Type="NVarChar"   /></Parameters></MM:DataSet>
<MM:PageBind runat="server" PostBackBind="true" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
<!-- TemplateBeginEditable name="doctitle" -->
<title>Japanese Car Auction Details</title>
<!-- TemplateEndEditable -->
<link rel="stylesheet" type="text/css" href="../anylink.css" />
 
<script type="text/javascript" src="../anylink.js">
 
/***********************************************
* AnyLink CSS Menu script- c Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
 
</script>
 
 
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
}
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
}
a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;
	font-weight: bold;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #666666;
}
a:hover {
	text-decoration: none;
	color: #C72026;
}
a:active {
	text-decoration: none;
	color: #C72026;
}
.style4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8px;
}
.style2 {	color: #C72026;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
-->
</style>
<SCRIPT language=JavaScript>
<!--
 
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function YY_checkform() { //v4.71
//copyright (c)1998,2002 Yaromat.com
  var a=YY_checkform.arguments,oo=true,v='',s='',err=false,r,o,at,o1,t,i,j,ma,rx,cd,cm,cy,dte,at;
  for (i=1; i<a.length;i=i+4){
    if (a[i+1].charAt(0)=='#'){r=true; a[i+1]=a[i+1].substring(1);}else{r=false}
    o=MM_findObj(a[i].replace(/\[\d+\]/ig,""));
    o1=MM_findObj(a[i+1].replace(/\[\d+\]/ig,""));
    v=o.value;t=a[i+2];
    if (o.type=='text'||o.type=='password'||o.type=='hidden'){
      if (r&&v.length==0){err=true}
      if (v.length>0)
      if (t==1){ //fromto
        ma=a[i+1].split('_');if(isNaN(v)||v<ma[0]/1||v > ma[1]/1){err=true}
      } else if (t==2){
        rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$");if(!rx.test(v))err=true;
      } else if (t==3){ // date
        ma=a[i+1].split("#");at=v.match(ma[0]);
        if(at){
          cd=(at[ma[1]])?at[ma[1]]:1;cm=at[ma[2]]-1;cy=at[ma[3]];
          dte=new Date(cy,cm,cd);
          if(dte.getFullYear()!=cy||dte.getDate()!=cd||dte.getMonth()!=cm){err=true};
        }else{err=true}
      } else if (t==4){ // time
        ma=a[i+1].split("#");at=v.match(ma[0]);if(!at){err=true}
      } else if (t==5){ // check this 2
            if(o1.length)o1=o1[a[i+1].replace(/(.*\[)|(\].*)/ig,"")];
            if(!o1.checked){err=true}
      } else if (t==6){ // the same
            if(v!=MM_findObj(a[i+1]).value){err=true}
      }
    } else
    if (!o.type&&o.length>0&&o[0].type=='radio'){
          at = a[i].match(/(.*)\[(\d+)\].*/i);
          o2=(o.length>1)?o[at[2]]:o;
      if (t==1&&o2&&o2.checked&&o1&&o1.value.length/1==0){err=true}
      if (t==2){
        oo=false;
        for(j=0;j<o.length;j++){oo=oo||o[j].checked}
        if(!oo){s+='* '+a[i+3]+'\n'}
      }
    } else if (o.type=='checkbox'){
      if((t==1&&o.checked==false)||(t==2&&o.checked&&o1&&o1.value.length/1==0)){err=true}
    } else if (o.type=='select-one'||o.type=='select-multiple'){
      if(t==1&&o.selectedIndex/1==0){err=true}
    }else if (o.type=='textarea'){
      if(v.length<a[i+1]){err=true}
    }
    if (err){s+='* '+a[i+3]+'\n'; err=false}
  }
  if (s!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)}
  document.MM_returnValue = (s=='');
}
//-->
</SCRIPT>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<script language="javascript" src="../liveclock.js"></script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" align="left" valign="top"></td>
    <td width="580" align="left" valign="top" bgcolor="#FFFFFF"><table width="600" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="20" class="style1"><script language="javascript"><!--
new LiveClock('','1','#666666','#FFFFFF','<b>Japan Time: ','</b>','340','0','1','0','','+9');
//--></script></td>
      </tr>
      <tr>
        <td height="60"><div align="left"><a href="http://www.japaneseusedcars.com" target="_parent"><img src="../../images/japaneseusedcars.gif" alt="japanese_used_cars" width="340" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/japanese_used_cars.htm" /></a><a href="/auction/auctions.htm" target="_parent"><img src="../../images/auction.gif" alt="japanese auctions" width="260" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/japanese_auctions.htm" /></a></div></td>
      </tr>
      <tr>
        <td height="20"><!--#include file="../top.htm" --></td>
      </tr>
      <tr>
        <td height="20"><!-- TemplateBeginEditable name="main" -->
<form action="/cgi-bin/formprocessorpro.pl" method="post" name="Simple" onsubmit="YY_checkform('Simple','r_how-to','#q','1','You cannot proceed if you do not know understand the procedure to buy this car!','r_terms','#q','1','You cannot proceed if you do not understand the terms and conditions!','r_Name','#q','0','Please tell us your name.','r_Consignee-Name','#q','0','Please tell us the consignee name.  THis means the name of the person who will own the car in your country.','re_eMail','S','2','You must tell us your email address.','r_Country','#q','0','Which country is the car going to?','r_Port','#q','0','tell us the name of the port the car is going to.  Please write unknown if you do not know yet.','r_Phone','#q','0','Please tell us your phone number.','r_Fax','#q','0','Please tell us your fax number.  Write unknown if you do not have one yet.','r_Address','10','1','Please tell us your address.');return document.MM_returnValue">
 <input type="hidden" name="base_path" value="c:/websites/japaneseusedcarscom/auction/stock">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="top">
  <td height="30" colspan="2" align="center">
  <td width="20" ></td>
<tr align="center" valign="top">
  <td width="20" align="center">  
<td align="center" ><table width="560" border="1" cellspacing="0" cellpadding="3" bordercolor="#C72026">
  <tr align="center">
    <td width="280" colspan="2" align="center"><div align="center"><b>LotNo: <%# ds_stock.FieldValue("AuctionNo", Container) %></b>
    </div>
    <div align="center"></div>    </td>
    <td colspan="2"><div align="center">
      <p><b><br>
        FOB Price:</b><b> <%# String.Format("{0:#,0}", ds_stock.FieldValue("Y", Container)) %> <font color="#FF0000">not incl. shipping</b></p>
      <p>The price is too high? <br>
        <a href="../fixedpricevauction.htm" target="_self">Find out how to buy a similar car cheaper!</a></p>
      <p>&nbsp;</p>
    </div></td>
    </tr>
  <tr bgcolor="#C72026">
    <td colspan="4" align="center" bgcolor="#C72026" ><b><font size="+1"><%# ds_stock.FieldValue("ManufactuRed", Container) %> <%# ds_stock.FieldValue("Model", Container) %> <br>
      <%# ds_stock.FieldValue("SubModel", Container) %></font></b></td>
    </tr>
  <tr>
    <td width="140" align="center"  ><div align="center"><b>Shift</b>: <%# ds_stock.FieldValue("Shift", Container) %></div></td>
    <td width="140" align="center"  ><b>Kms: <%# ds_stock.FieldValue("Mileage", Container) %></b></td>
    <td width="140" align="center"  >CC: <%# ds_stock.FieldValue("CC", Container) %></td>
    <td width="140" align="center"  ><div align="center"><b>Colour</b>: <%# ds_stock.FieldValue("Colour", Container) %></div></td>
  </tr>
  
  <tr>
    <td align="center"  ><div align="center">
      <div align="center">History:</div>
    </div></td>
    <td align="center"  ><b><b><%# ds_stock.FieldValue("Grade", Container) %></b></b></td>
    <td align="center"  >&nbsp;</td>
    <td colspan="2" align="left"  ><div align="center"></div></td>
  </tr>
  <tr>
    <td width="140" align="center"  ><b>Equipment</b>:</td>
    <td colspan="4" align="center"  ><div align="left"><%# ds_stock.FieldValue("Equipment", Container) %></div></td>
    </tr>
  
 
</table>  
<td width="20" ><span class="style1"></span></td>
</table>
 
<table width="100%" height="420" border="0" align="center" cellpadding="0" cellspacing="0" class="printnasi">
  <tr align="center" valign="top">
    <td height="30" colspan="4" align="center"><table width="600" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="20"></td>
        <td colspan="3"></td>
      </tr>
      <tr>
        <td width="20"></td>
        <td colspan="3"><p>&nbsp;</p>
          </td>
      </tr>
      <tr>
        <td width="20"></td>
        <td colspan="3"></td>
      </tr>
      <tr>
        <td width="20"></td>
        <td width="280" height="210"><%# ds_stock.FieldValue("Pic2", Container) %></td>
        <td width="280" height="210"><%# ds_stock.FieldValue("Pic3", Container) %></td>
        <td width="20"></td>
      </tr>
      <tr>
        <td></td>
        <td width="280" height="210"><%# ds_stock.FieldValue("Pic4", Container) %></td>
        <td width="280" height="210"><p align="center"><a href="#" onclick="history.go(-1)"><<<< back to previous page</a></p>
          <p align="center"><a href="#buy"><img src="../../images/buy.gif" alt="buy" width="80" height="40" border="0"></a></p></td>
        <td></td>
      </tr>
      <tr>
        <td></td>
        <td colspan="2">&nbsp;</td>
        <td></td>
      </tr>
    </table>
    <p><a name="buy" id="buy"></a>
        <br>
        <br>
        <span class="style2">COMPLETE THE FOLLOWING FORM AND CLICK PROCEED TO BUY </span></p>
    <p>NOTE THAT PAYMENT IS BY FUNDS TRANSFER FROM YOUR BANK (TELEGRAPHIC TRANSFER) ONLY</p>
    <p> <span class="style2">NO CREDIT CARDS</span></p>
    <p>&nbsp;</p>
    <tr align="center" valign="top">
    <td width="20" align="center">
    <td width="280" align="center" ><table width="280" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="3" class="maintext"><div align="left"><strong>HOW TO BUY THIS CAR: <a href="/auction/stock/fixed_price_how_to_buy.htm">CLICK HERE</a></strong></div></td>
      </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="right"></div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left"></div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left">*Name :: 
            <br>
            <input type="text" name="r_Name" maxlength="64" size="30" style='border: 1 outset rgb(50,50,50);'>
            </div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left">Company Name :: <br>
        
            <input type="text" name="Company-Name" maxlength="64" size="30" style='border: 1 outset rgb(50,50,50);'>
            </div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left">*Consignee Name :: <br>
        
            <input name="r_Consignee-Name" type="text" id="r_Consignee-Name" style='border: 1 outset rgb(50,50,50);' size="30" maxlength="64">
            <br>
            <span class="maintext">(name of the person the car will be registered to)</span></div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left">*Contact eMail :: <br>
        
            <input type="text" name="re_eMail" size="30" maxlength="64" style='border: 1 outset rgb(50,50,50);'>
            </div></td>
        </tr>
      <tr>
        <td colspan="3" class="maintext"><div align="left">
          <p></p>
          <p></p>
        </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">I have read and understand<br>          
        &quot;<a href="/auction/stock/fixed_price_how_to_buy.htm">how to buy this car</a>&quot;          </div></td>
        <td class="maintext"><input name="r_how-to" type="checkbox" id="r_how-to" value="I understand the procedure to buy this car."></td>
        <td width="20" class="maintext"></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">
          <a href="/auction/stock/terms.htm">I agree to the terms and conditions</a>
            </div></td>
        <td class="maintext">
          <input name="r_terms" type="checkbox" id="r_terms" value="I agree to the terms and conditions.">        </td>
        <td width="20" class="maintext"></td>
      </tr>
    </table>    
    <td width="280" ><table width="280" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="maintext"></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left"></div></td>
        </tr>
      <tr>
        <td class="maintext"><div align="left"></div></td>
        </tr>
      <tr>
        <td class="maintext"><div align="left">*Address ::<br> 
          
            <textarea name="r_Address" cols="24" rows="4" wrap="VIRTUAL" class="Textarea-Style" id="r_Address"></textarea>
        </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">*Country ::<br> 
          
            <input type="text" name="r_Country" size="30" maxlength="128" style='border: 1 outset rgb(50,50,50);'>
        </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">*Port ::<br>
          
          <input name="r_Port" type="text" id="r_Port" style='border: 1 outset rgb(50,50,50);' size="30" maxlength="128">
        </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">*Phone ::<br> 
          
            <input name="r_Phone" type="text" id="r_Phone" style='border: 1 outset rgb(50,50,50);' size="30" maxlength="128">
        </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">
          <p>*Fax :: 
              <br>
              <input name="r_Fax" type="text" id="r_Fax" style='border: 1 outset rgb(50,50,50);' size="30" maxlength="128">
          <br>
          (this is required by the shipping company)                </p>
          </div></td>
      </tr>
      <tr>
        <td class="maintext"><div align="left">
          <p></p>
          <p></p>
        </div></td>
        </tr>
      <tr>
        <td class="maintext"><div align="left"><font size="2">
          <input type="submit" name="Submit" value="..:: PROCEED ::.." class="buttons">
        </div></td>
        </tr>
      <tr align="left">
        <td class="maintext"><div align="left"></div></td>
      </tr>
      <tr align="left">
        <td class="maintext"><div align="left"> </div></td>
      </tr>
    </table></td>
    <td width="20" ></td>
    </table>
<p></p>
<p></p>
<p>
  <input type="hidden" name="Date" value="<%# ds_stock.FieldValue("Auctioning", Container) %>">
  <input type="hidden" name="Grade" value="<%# ds_stock.FieldValue("Grade", Container) %>">
  <input type="hidden" name="Lot_No" value="<%# ds_stock.FieldValue("AuctionNo", Container) %>">
  <input type="hidden" name="Price" value="<%# String.Format("{0:#,0}", ds_stock.FieldValue("Y", Container)) %>">
  <input type="hidden" name="Year" value="<%# ds_stock.FieldValue("ManufactuRed", Container) %>">
  <input type="hidden" name="Model" value="<%# ds_stock.FieldValue("Model", Container) %>">
  <input type="hidden" name="Type" value="<%# ds_stock.FieldValue("SubModel", Container) %>">
  <input type="hidden" name="Shift" value="<%# ds_stock.FieldValue("Shift", Container) %>">
  <input type="hidden" name="CC" value="<%# ds_stock.FieldValue("CC", Container) %>">
  <input type="hidden" name="Mileage" value="<%# ds_stock.FieldValue("Mileage", Container) %>">
  <input type="hidden" name="Shaken" value="<%# ds_stock.FieldValue("Shaken", Container) %>">
  <input type="hidden" name="VIN" value="<%# ds_stock.FieldValue("VIN", Container) %>">
  <input type="hidden" name="Colour" value="<%# ds_stock.FieldValue("Colour", Container) %>">
  <input type="hidden" name="Equipment" value="<%# ds_stock.FieldValue("Equipment", Container) %>">
  <input type="hidden" name="Aircon" value="<%# ds_stock.FieldValue("Aircon", Container) %>">
  <input type="hidden" name="Fuel" value="<%# ds_stock.FieldValue("Fuel", Container) %>">
  <input type="hidden" name="Front" value="<%# ds_stock.FieldValue("Pic5", Container) %>">
  <input type="hidden" name="Back" value="<%# ds_stock.FieldValue("Pic6", Container) %>">
  <input type="hidden" name="interior" value="<%# ds_stock.FieldValue("Pic7", Container) %>"> 
  <input type="hidden" name="comment" value="<%# ds_stock.FieldValue("comment", Container) %>">
  <input type="hidden" name="url" value="<%# ds_stock.FieldValue("url", Container) %>">
  <input type="hidden" name="dealer_name" value="<%# ds_stock.FieldValue("name", Container) %>">
  <input type="hidden" name="dealer_address" value="<%# ds_stock.FieldValue("address", Container) %>">
  <input type="hidden" name="dealer_tel" value="<%# ds_stock.FieldValue("tel", Container) %>">
  <input type="hidden" name="dealer_fax" value="<%# ds_stock.FieldValue("fax", Container) %>"> 
 
  
</p>
<p></p>
<div align="center">
<p><font size="2"><br>
      </p>
</form><!-- TemplateEndEditable --></td>
      </tr>
    </table>      </td>
    <td align="left" valign="top"><table width="140" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="140" height="20"></td>
      </tr>
      <tr>
        <td width="140" height="60"><div align="center"><a href="/descriptions/jumvea.htm"><img src="../../images/jumvea_logo.jpg" alt="Japan Used Motor Vehicle Exporters Association" width="90" height="60" border="0" longdesc="http://www.japaneseusedcars.com/descriptions/jumvea.htm" /></a></div></td>
      </tr>
      <tr>
        <td width="140" height="30" valign="top"><div align="center" class="style1">Exporters<br />
          Association Member </div></td>
      </tr>
      <tr>
        <td width="140" height="40" valign="top" class="style1"><div align="center">Used Car Dealer<br />
          License Number:<br />
          452780005589</div></td>
      </tr>
      <tr>
        <td height="30" valign="top" class="style1"><div align="center">Limited Company No:<br />
          0219-02-013191</div></td>
      </tr>
      <tr>
        <td height="30" valign="top" class="style1"><!--#include file="../right.htm" --></td>
      </tr>
      <tr>
        <td class="style1"></td>
      </tr>
    </table>
 
    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
[+][-]01/06/08 08:49 AM, ID: 20594453Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Adobe Dreamweaver, C# Programming Language, Programming for ASP.NET
Tags: details, format, page
Sign Up Now!
Solution Provided By: GreenGhost
Participating Experts: 4
Solution Grade: A
 
[+][-]12/16/07 02:45 AM, ID: 20480205Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/16/07 03:34 AM, ID: 20480258Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/04/08 11:46 AM, ID: 20585484Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/05/08 01:29 AM, ID: 20588529Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/05/08 07:27 AM, ID: 20589307Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/05/08 09:01 AM, ID: 20589634Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/05/08 11:15 AM, ID: 20590229Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/05/08 12:31 PM, ID: 20590580Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/06/08 07:10 AM, ID: 20594138Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/06/08 09:35 AM, ID: 20594642Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/06/08 10:59 AM, ID: 20595095Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 03:15 AM, ID: 20598212Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 03:16 AM, ID: 20598215Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 04:03 AM, ID: 20598384Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/07/08 04:08 AM, ID: 20598404Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 04:21 AM, ID: 20598458Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/07/08 04:28 AM, ID: 20598485Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 04:42 AM, ID: 20598576Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/07/08 05:31 AM, ID: 20598934Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 05:32 AM, ID: 20598942Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 05:33 AM, ID: 20598945Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/08 10:55 AM, ID: 20601910Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 / EE_QW_2_20070628