Solved

Data Format in Details Page

Posted on 2007-12-03
24
1,485 Views
Last Modified: 2010-04-21
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.
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>

Open in new window

0
Comment
Question by:japaneseusedcars
  • 10
  • 5
  • 4
  • +2
24 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20480205
what about this:

<%# ds_stock.FieldValue("Y", Container).ToString("{0:N0}") %>
0
 

Author Comment

by:japaneseusedcars
ID: 20480258
Results in a Runtime Error I'm afraid.
0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 20585484
That would be:

<%# ds_stock.FieldValue("Y", Container).ToString("N0") %>

or

<%# String.Format("{0:N0}", ds_stock.FieldValue("Y", Container)) %>
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 20588529
japaneseusedcars

Can you please advise on how GreenGhost's proposed solution worked out for you, and show any error messages you got if it didn't??

Thanks!
0
 

Author Comment

by:japaneseusedcars
ID: 20589307
<%# ds_stock.FieldValue("Y", Container).ToString("N0") %>
resulted in runtime error

<%# String.Format("{0:N0}", ds_stock.FieldValue("Y", Container)) %>
did not result in an error, but did not format the data
0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 20589634
> resulted in runtime error

Could you be more specific? Which runtime error?

> did not result in an error, but did not format the data

I can't really see how the format method would output any data at all unless it was formatted.

Do you have any example of data and how it did output?
0
 

Author Comment

by:japaneseusedcars
ID: 20590229
The error is below.

Regarding the data not being formated, please see yourself at:
http://www.japaneseusedcars.com/auction/auctions3.htm

Use the search facility to the left and search for any Honda.  You can see the FOB price in yen properly formatted (x,xxx,xxx)

If you then click on a specific car to see the car details page, you will see the price dispayed as xxxxxxx, ie without commas.  Coding attached.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 


<!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.honda 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:N0}", 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:N0}", 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>

Open in new window

0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 20590580
> The error is below.

That is not the error message, that is what you get instead of error messages when you have error messages disabled.

Follow the instructions in the message so that you can see the real error message.

The code is correct as far as I can see. What is the data type of the field?
0
 

Author Comment

by:japaneseusedcars
ID: 20594138
Hello,
Data type is 'int'.
Error message attached.



Server Error in '/' Application.

--------------------------------------------------------------------------------
 

Compilation Error 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
 

Compiler Error Message: CS1502: The best overloaded method match for 'string.ToString(System.IFormatProvider)' has some invalid arguments
 

Source Error:
 

 
 

Line 184:    <td colspan="2"><div align="center">

Line 185:      <p><b><br>

Line 186:        FOB Price:</b><b> <%# ds_stock.FieldValue("Y", Container).ToString("N0") %>

Line 187: <font color="#FF0000">not incl. shipping</b></p>

Line 188:      <p>The price is too high? <br>

 
 

Source File: C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx    Line: 186 
 
 
 

Show Detailed Compiler Output:
 
 

c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\a3913763\a0f561fe\assembly\dl2\8845b8ed\006cdcd5_8883c401\dreamweaverctrls.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\a3913763\a0f561fe\ivmes6ck.dll" /debug- /optimize+ /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\a3913763\a0f561fe\ivmes6ck.res" /warnaserror /w:1  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\a3913763\a0f561fe\ivmes6ck.0.cs"
 
 

Microsoft (R) Visual C# .NET Compiler version 7.10.6310.4

for Microsoft (R) .NET Framework version 1.1.4322

Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
 

C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx(186,66): error CS1502: The best overloaded method match for 'string.ToString(System.IFormatProvider)' has some invalid arguments

C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx(186,111): error CS1503: Argument '1': cannot convert from 'string' to 'System.IFormatProvider'

C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx(391,67): error CS1502: The best overloaded method match for 'string.ToString(System.IFormatProvider)' has some invalid arguments

C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx(391,112): error CS1503: Argument '1': cannot convert from 'string' to 'System.IFormatProvider'
 

 
 
 
 

Show Complete Compilation Source:
 
 

Line 1:    //------------------------------------------------------------------------------

Line 2:    // <autogenerated>

Line 3:    //     This code was generated by a tool.

Line 4:    //     Runtime Version: 1.1.4322.2407

Line 5:    //

Line 6:    //     Changes to this file may cause incorrect behavior and will be lost if 

Line 7:    //     the code is regenerated.

Line 8:    // </autogenerated>

Line 9:    //------------------------------------------------------------------------------

Line 10:   

Line 11:   namespace ASP {

Line 12:       using System;

Line 13:       using System.Collections;

Line 14:       using System.Collections.Specialized;

Line 15:       using System.Configuration;

Line 16:       using System.Text;

Line 17:       using System.Text.RegularExpressions;

Line 18:       using System.Web;

Line 19:       using System.Web.Caching;

Line 20:       using System.Web.SessionState;

Line 21:       using System.Web.Security;

Line 22:       using System.Web.UI;

Line 23:       using System.Web.UI.WebControls;

Line 24:       using System.Web.UI.HtmlControls;

Line 25:       

Line 26:       #line 3 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 27:       using DreamweaverCtrls;

Line 28:       

Line 29:       #line default

Line 30:       #line hidden

Line 31:       

Line 32:       

Line 33:       public class detail_honda_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {

Line 34:           

Line 35:           

Line 36:           #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 37:           private System.Web.UI.HtmlControls.HtmlGenericControl __control3;

Line 38:           

Line 39:           #line default

Line 40:           #line hidden

Line 41:           

Line 42:           

Line 43:           #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 44:           private System.Collections.ArrayList __control2;

Line 45:           

Line 46:           #line default

Line 47:           #line hidden

Line 48:           

Line 49:           

Line 50:           #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 51:           protected DreamweaverCtrls.DataSet ds_stock;

Line 52:           

Line 53:           #line default

Line 54:           #line hidden

Line 55:           

Line 56:           

Line 57:           #line 14 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 58:           private DreamweaverCtrls.PageBind __control4;

Line 59:           

Line 60:           #line default

Line 61:           #line hidden

Line 62:           

Line 63:           private System.Web.UI.DataBoundLiteralControl __control5;

Line 64:           

Line 65:           private static bool __initialized = false;

Line 66:           

Line 67:           private static object __stringResource;

Line 68:           

Line 69:           private static System.Collections.ArrayList __fileDependencies;

Line 70:           

Line 71:           public detail_honda_aspx() {

Line 72:               System.Collections.ArrayList dependencies;

Line 73:               if ((ASP.detail_honda_aspx.__initialized == false)) {

Line 74:                   ASP.detail_honda_aspx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(typeof(ASP.detail_honda_aspx));

Line 75:                   dependencies = new System.Collections.ArrayList();

Line 76:                   dependencies.Add("C:\\Websites\\japaneseusedcarscom\\auction\\top.htm");

Line 77:                   dependencies.Add("C:\\Websites\\japaneseusedcarscom\\auction\\stock\\detail_honda.aspx");

Line 78:                   dependencies.Add("C:\\Websites\\japaneseusedcarscom\\auction\\right.htm");

Line 79:                   ASP.detail_honda_aspx.__fileDependencies = dependencies;

Line 80:                   ASP.detail_honda_aspx.__initialized = true;

Line 81:               }

Line 82:           }

Line 83:           

Line 84:           protected override bool SupportAutoEvents {

Line 85:               get {

Line 86:                   return false;

Line 87:               }

Line 88:           }

Line 89:           

Line 90:           protected System.Web.HttpApplication ApplicationInstance {

Line 91:               get {

Line 92:                   return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));

Line 93:               }

Line 94:           }

Line 95:           

Line 96:           public override string TemplateSourceDirectory {

Line 97:               get {

Line 98:                   return "/auction/stock";

Line 99:               }

Line 100:          }

Line 101:          

Line 102:          private System.Web.UI.Control __BuildControl__control3() {

Line 103:              System.Web.UI.HtmlControls.HtmlGenericControl __ctrl;

Line 104:              

Line 105:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 106:              __ctrl = new System.Web.UI.HtmlControls.HtmlGenericControl("Parameter");

Line 107:              

Line 108:              #line default

Line 109:              #line hidden

Line 110:              this.__control3 = __ctrl;

Line 111:              

Line 112:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 113:              ((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("Name", "@AuctionNo");

Line 114:              

Line 115:              #line default

Line 116:              #line hidden

Line 117:              

Line 118:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 119:              ((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("Type", "NVarChar");

Line 120:              

Line 121:              #line default

Line 122:              #line hidden

Line 123:              

Line 124:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 125:              __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control3);

Line 126:              

Line 127:              #line default

Line 128:              #line hidden

Line 129:              return __ctrl;

Line 130:          }

Line 131:          

Line 132:          public void __DataBind__control3(object sender, System.EventArgs e) {

Line 133:              DreamweaverCtrls.DataSet Container;

Line 134:              System.Web.UI.HtmlControls.HtmlGenericControl target;

Line 135:              

Line 136:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 137:              target = ((System.Web.UI.HtmlControls.HtmlGenericControl)(sender));

Line 138:              

Line 139:              #line default

Line 140:              #line hidden

Line 141:              

Line 142:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 143:              Container = ((DreamweaverCtrls.DataSet)(target.BindingContainer));

Line 144:              

Line 145:              #line default

Line 146:              #line hidden

Line 147:              

Line 148:              #line 13 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 149:              ((System.Web.UI.IAttributeAccessor)(target)).SetAttribute("Value", System.Convert.ToString( ((Request.QueryString["AuctionNo"] != null) && (Request.QueryString["AuctionNo"].Length > 0)) ? Request.QueryString["AuctionNo"] : "" ));

Line 150:              

Line 151:              #line default

Line 152:              #line hidden

Line 153:          }

Line 154:          

Line 155:          private void __BuildControl__control2() {

Line 156:              System.Collections.ArrayList __ctrl;

Line 157:              

Line 158:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 159:              __ctrl = new System.Collections.ArrayList();

Line 160:              

Line 161:              #line default

Line 162:              #line hidden

Line 163:              this.__control2 = __ctrl;

Line 164:              

Line 165:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 166:              this.__BuildControl__control3();

Line 167:              

Line 168:              #line default

Line 169:              #line hidden

Line 170:              

Line 171:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 172:              __ctrl.Add(this.__control3);

Line 173:              

Line 174:              #line default

Line 175:              #line hidden

Line 176:          }

Line 177:          

Line 178:          private System.Web.UI.Control __BuildControlds_stock() {

Line 179:              DreamweaverCtrls.DataSet __ctrl;

Line 180:              

Line 181:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 182:              __ctrl = new DreamweaverCtrls.DataSet();

Line 183:              

Line 184:              #line default

Line 185:              #line hidden

Line 186:              this.ds_stock = __ctrl;

Line 187:              

Line 188:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 189:              this.ds_stock.InitializeAsUserControl(this.Page);

Line 190:              

Line 191:              #line default

Line 192:              #line hidden

Line 193:              

Line 194:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 195:              __ctrl.ID = "ds_stock";

Line 196:              

Line 197:              #line default

Line 198:              #line hidden

Line 199:              

Line 200:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 201:              __ctrl.IsStoredProcedure = false;

Line 202:              

Line 203:              #line default

Line 204:              #line hidden

Line 205:              

Line 206:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 207:              __ctrl.Debug = true;

Line 208:              

Line 209:              #line default

Line 210:              #line hidden

Line 211:              

Line 212:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 213:              this.__BuildControl__control2();

Line 214:              

Line 215:              #line default

Line 216:              #line hidden

Line 217:              

Line 218:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 219:              __ctrl.Parameters = this.__control2;

Line 220:              

Line 221:              #line default

Line 222:              #line hidden

Line 223:              

Line 224:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 225:              __ctrl.DataBinding += new System.EventHandler(this.__DataBindds_stock);

Line 226:              

Line 227:              #line default

Line 228:              #line hidden

Line 229:              return __ctrl;

Line 230:          }

Line 231:          

Line 232:          public void __DataBindds_stock(object sender, System.EventArgs e) {

Line 233:              System.Web.UI.Control Container;

Line 234:              DreamweaverCtrls.DataSet target;

Line 235:              

Line 236:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 237:              target = ((DreamweaverCtrls.DataSet)(sender));

Line 238:              

Line 239:              #line default

Line 240:              #line hidden

Line 241:              

Line 242:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 243:              Container = ((System.Web.UI.Control)(target.BindingContainer));

Line 244:              

Line 245:              #line default

Line 246:              #line hidden

Line 247:              

Line 248:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 249:              target.ConnectionString = System.Convert.ToString(System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_STRING_stock"]);

Line 250:              

Line 251:              #line default

Line 252:              #line hidden

Line 253:              

Line 254:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 255:              target.DatabaseType = System.Convert.ToString(System.Configuration.ConfigurationSettings.AppSettings["MM_CONNECTION_DATABASETYPE_stock"]);

Line 256:              

Line 257:              #line default

Line 258:              #line hidden

Line 259:              

Line 260:              #line 4 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 261:              target.CommandText = System.Convert.ToString("SELECT * FROM dbo.honda WHERE AuctionNo = @AuctionNo");

Line 262:              

Line 263:              #line default

Line 264:              #line hidden

Line 265:          }

Line 266:          

Line 267:          private System.Web.UI.Control __BuildControl__control4() {

Line 268:              DreamweaverCtrls.PageBind __ctrl;

Line 269:              

Line 270:              #line 14 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 271:              __ctrl = new DreamweaverCtrls.PageBind();

Line 272:              

Line 273:              #line default

Line 274:              #line hidden

Line 275:              this.__control4 = __ctrl;

Line 276:              

Line 277:              #line 14 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 278:              this.__control4.InitializeAsUserControl(this.Page);

Line 279:              

Line 280:              #line default

Line 281:              #line hidden

Line 282:              

Line 283:              #line 14 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 284:              __ctrl.PostBackBind = true;

Line 285:              

Line 286:              #line default

Line 287:              #line hidden

Line 288:              return __ctrl;

Line 289:          }

Line 290:          

Line 291:          private System.Web.UI.Control __BuildControl__control5() {

Line 292:              System.Web.UI.DataBoundLiteralControl __ctrl;

Line 293:              __ctrl = new System.Web.UI.DataBoundLiteralControl(42, 41);

Line 294:              this.__control5 = __ctrl;

Line 295:              __ctrl.SetStaticString(0, "</td>\r\n      </tr>\r\n      <tr>\r\n        <td height=\"20\"><!-- TemplateBeginEditabl" +

Line 296:  "e name=\"main\" -->\r\n<form action=\"/cgi-bin/formprocessorpro.pl\" method=\"post\" nam" +

Line 297:  "e=\"Simple\" onsubmit=\"YY_checkform(\'Simple\',\'r_how-to\',\'#q\',\'1\',\'You cannot proce" +

Line 298:  "ed if you do not know understand the procedure to buy this car!\',\'r_terms\',\'#q\'," +

Line 299:  "\'1\',\'You cannot proceed if you do not understand the terms and conditions!\',\'r_N" +

Line 300:  "ame\',\'#q\',\'0\',\'Please tell us your name.\',\'r_Consignee-Name\',\'#q\',\'0\',\'Please te" +

Line 301:  "ll us the consignee name.  THis means the name of the person who will own the ca" +

Line 302:  "r in your country.\',\'re_eMail\',\'S\',\'2\',\'You must tell us your email address.\',\'r" +

Line 303:  "_Country\',\'#q\',\'0\',\'Which country is the car going to?\',\'r_Port\',\'#q\',\'0\',\'tell " +

Line 304:  "us the name of the port the car is going to.  Please write unknown if you do not" +

Line 305:  " know yet.\',\'r_Phone\',\'#q\',\'0\',\'Please tell us your phone number.\',\'r_Fax\',\'#q\'," +

Line 306:  "\'0\',\'Please tell us your fax number.  Write unknown if you do not have one yet.\'" +

Line 307:  ",\'r_Address\',\'10\',\'1\',\'Please tell us your address.\');return document.MM_returnV" +

Line 308:  "alue\">\r\n <input type=\"hidden\" name=\"base_path\" value=\"c:/websites/japaneseusedca" +

Line 309:  "rscom/auction/stock\">\r\n<table width=\"100%\" border=\"0\" align=\"center\" cellpadding" +

Line 310:  "=\"0\" cellspacing=\"0\">\r\n<tr align=\"center\" valign=\"top\">\r\n  <td height=\"30\" colsp" +

Line 311:  "an=\"2\" align=\"center\">\r\n  <td width=\"20\" ></td>\r\n<tr align=\"center\" valign=\"top\"" +

Line 312:  ">\r\n  <td width=\"20\" align=\"center\">  \r\n<td align=\"center\" ><table width=\"560\" bo" +

Line 313:  "rder=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#C72026\">\r\n  <tr align=\"ce" +

Line 314:  "nter\">\r\n    <td width=\"280\" colspan=\"2\" align=\"center\"><div align=\"center\"><b>Lo" +

Line 315:  "tNo: ");

Line 316:              __ctrl.SetStaticString(1, "</b>\r\n    </div>\r\n    <div align=\"center\"></div>    </td>\r\n    <td colspan=\"2\"><d" +

Line 317:  "iv align=\"center\">\r\n      <p><b><br>\r\n        FOB Price:</b><b> ");

Line 318:              __ctrl.SetStaticString(2, @"

Line 319:   <font color=""#FF0000"">not incl. shipping</b></p>

Line 320:        <p>The price is too high? <br>

Line 321:          <a href=""../fixedpricevauction.htm"" target=""_self"">Find out how to buy  a similar car cheaper!</a></p>

Line 322:        <p>&nbsp;</p>

Line 323:      </div></td>

Line 324:      </tr>

Line 325:    <tr bgcolor=""#C72026"">

Line 326:      <td colspan=""4"" align=""center"" bgcolor=""#C72026"" ><b><font size=""+1"">");

Line 327:              __ctrl.SetStaticString(3, " ");

Line 328:              __ctrl.SetStaticString(4, " <br>\r\n      ");

Line 329:              __ctrl.SetStaticString(5, "</font></b></td>\r\n    </tr>\r\n  <tr>\r\n    <td width=\"140\" align=\"center\"  ><div al" +

Line 330:  "ign=\"center\"><b>Shift</b>: ");

Line 331:              __ctrl.SetStaticString(6, "</div></td>\r\n    <td width=\"140\" align=\"center\"  ><b>Kms: ");

Line 332:              __ctrl.SetStaticString(7, "</b></td>\r\n    <td width=\"140\" align=\"center\"  >CC: ");

Line 333:              __ctrl.SetStaticString(8, "</td>\r\n    <td width=\"140\" align=\"center\"  ><div align=\"center\"><b>Colour</b>: ");

Line 334:              __ctrl.SetStaticString(9, "</div></td>\r\n  </tr>\r\n  \r\n  <tr>\r\n    <td align=\"center\"  ><div align=\"center\">\r\n" +

Line 335:  "      <div align=\"center\">History:</div>\r\n    </div></td>\r\n    <td align=\"center" +

Line 336:  "\"  ><b><b>");

Line 337:              __ctrl.SetStaticString(10, "</b></b></td>\r\n    <td align=\"center\"  >&nbsp;</td>\r\n    <td colspan=\"2\" align=\"l" +

Line 338:  "eft\"  ><div align=\"center\"></div></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\"140\" ali" +

Line 339:  "gn=\"center\"  ><b>Equipment</b>:</td>\r\n    <td colspan=\"4\" align=\"center\"  ><div " +

Line 340:  "align=\"left\">");

Line 341:              __ctrl.SetStaticString(11, @"</div></td>

Line 342:      </tr>

Line 343:    

Line 344:  

Line 345:  </table>  

Line 346:  <td width=""20"" ><span class=""style1""></span></td>

Line 347:  </table>

Line 348:  

Line 349:  <table width=""100%"" height=""420"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"" class=""printnasi"">

Line 350:    <tr align=""center"" valign=""top"">

Line 351:      <td height=""30"" colspan=""4"" align=""center""><table width=""600"" border=""0"" cellpadding=""0"" cellspacing=""0"">

Line 352:        <tr>

Line 353:          <td width=""20""></td>

Line 354:          <td colspan=""3""></td>

Line 355:        </tr>

Line 356:        <tr>

Line 357:          <td width=""20""></td>

Line 358:          <td colspan=""3""><p>&nbsp;</p>

Line 359:            </td>

Line 360:        </tr>

Line 361:        <tr>

Line 362:          <td width=""20""></td>

Line 363:          <td colspan=""3""></td>

Line 364:        </tr>

Line 365:        <tr>

Line 366:          <td width=""20""></td>

Line 367:          <td width=""280"" height=""210"">");

Line 368:              __ctrl.SetStaticString(12, "</td>\r\n        <td width=\"280\" height=\"210\">");

Line 369:              __ctrl.SetStaticString(13, "</td>\r\n        <td width=\"20\"></td>\r\n      </tr>\r\n      <tr>\r\n        <td></td>\r\n" +

Line 370:  "        <td width=\"280\" height=\"210\">");

Line 371:              __ctrl.SetStaticString(14, "</td>\r\n        <td width=\"280\" height=\"210\"><p align=\"center\"><a href=\"#\" onclick" +

Line 372:  "=\"history.go(-1)\"><<<< back to previous page</a></p>\r\n          <p align=\"center" +

Line 373:  "\"><a href=\"#buy\"><img src=\"../../images/buy.gif\" alt=\"buy\" width=\"80\" height=\"40" +

Line 374:  "\" border=\"0\"></a></p></td>\r\n        <td></td>\r\n      </tr>\r\n      <tr>\r\n        " +

Line 375:  "<td></td>\r\n        <td colspan=\"2\">&nbsp;</td>\r\n        <td></td>\r\n      </tr>\r\n" +

Line 376:  "    </table>\r\n    <p><a name=\"buy\" id=\"buy\"></a>\r\n        <br>\r\n        <br>\r\n  " +

Line 377:  "      <span class=\"style2\">COMPLETE THE FOLLOWING FORM AND CLICK PROCEED TO BUY " +

Line 378:  "</span></p>\r\n    <p>NOTE THAT PAYMENT IS BY FUNDS TRANSFER FROM YOUR BANK (TELEG" +

Line 379:  "RAPHIC TRANSFER) ONLY</p>\r\n    <p> <span class=\"style2\">NO CREDIT CARDS</span></" +

Line 380:  "p>\r\n    <p>&nbsp;</p>\r\n    <tr align=\"center\" valign=\"top\">\r\n    <td width=\"20\" " +

Line 381:  "align=\"center\">\r\n    <td width=\"280\" align=\"center\" ><table width=\"280\" border=\"" +

Line 382:  "0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n      <tr>\r\n        <td cols" +

Line 383:  "pan=\"3\" class=\"maintext\"><div align=\"left\"><strong>HOW TO BUY THIS CAR: <a href=" +

Line 384:  "\"/auction/stock/fixed_price_how_to_buy.htm\">CLICK HERE</a></strong></div></td>\r\n" +

Line 385:  "      </tr>\r\n      <tr>\r\n        <td colspan=\"3\" class=\"maintext\"><div align=\"ri" +

Line 386:  "ght\"></div></td>\r\n        </tr>\r\n      <tr>\r\n        <td colspan=\"3\" class=\"main" +

Line 387:  "text\"><div align=\"left\"></div></td>\r\n        </tr>\r\n      <tr>\r\n        <td cols" +

Line 388:  "pan=\"3\" class=\"maintext\"><div align=\"left\">*Name :: \r\n            <br>\r\n        " +

Line 389:  "    <input type=\"text\" name=\"r_Name\" maxlength=\"64\" size=\"30\" style=\'border: 1 o" +

Line 390:  "utset rgb(50,50,50);\'>\r\n            </div></td>\r\n        </tr>\r\n      <tr>\r\n    " +

Line 391:  "    <td colspan=\"3\" class=\"maintext\"><div align=\"left\">Company Name :: <br>\r\n   " +

Line 392:  "     \r\n            <input type=\"text\" name=\"Company-Name\" maxlength=\"64\" size=\"3" +

Line 393:  "0\" style=\'border: 1 outset rgb(50,50,50);\'>\r\n            </div></td>\r\n        </" +

Line 394:  "tr>\r\n      <tr>\r\n        <td colspan=\"3\" class=\"maintext\"><div align=\"left\">*Con" +

Line 395:  "signee Name :: <br>\r\n        \r\n            <input name=\"r_Consignee-Name\" type=\"" +

Line 396:  "text\" id=\"r_Consignee-Name\" style=\'border: 1 outset rgb(50,50,50);\' size=\"30\" ma" +

Line 397:  "xlength=\"64\">\r\n            <br>\r\n            <span class=\"maintext\">(name of the" +

Line 398:  " person the car will be registered to)</span></div></td>\r\n        </tr>\r\n      <" +

Line 399:  "tr>\r\n        <td colspan=\"3\" class=\"maintext\"><div align=\"left\">*Contact eMail :" +

Line 400:  ": <br>\r\n        \r\n            <input type=\"text\" name=\"re_eMail\" size=\"30\" maxle" +

Line 401:  "ngth=\"64\" style=\'border: 1 outset rgb(50,50,50);\'>\r\n            </div></td>\r\n   " +

Line 402:  "     </tr>\r\n      <tr>\r\n        <td colspan=\"3\" class=\"maintext\"><div align=\"lef" +

Line 403:  "t\">\r\n          <p></p>\r\n          <p></p>\r\n        </div></td>\r\n      </tr>\r\n   " +

Line 404:  "   <tr>\r\n        <td class=\"maintext\"><div align=\"left\">I have read and understa" +

Line 405:  "nd<br>          \r\n        &quot;<a href=\"/auction/stock/fixed_price_how_to_buy.h" +

Line 406:  "tm\">how to buy this car</a>&quot;          </div></td>\r\n        <td class=\"maint" +

Line 407:  "ext\"><input name=\"r_how-to\" type=\"checkbox\" id=\"r_how-to\" value=\"I understand th" +

Line 408:  "e procedure to buy this car.\"></td>\r\n        <td width=\"20\" class=\"maintext\"></t" +

Line 409:  "d>\r\n      </tr>\r\n      <tr>\r\n        <td class=\"maintext\"><div align=\"left\">\r\n  " +

Line 410:  "        <a href=\"/auction/stock/terms.htm\">I agree to the terms and conditions</" +

Line 411:  "a>\r\n            </div></td>\r\n        <td class=\"maintext\">\r\n          <input nam" +

Line 412:  "e=\"r_terms\" type=\"checkbox\" id=\"r_terms\" value=\"I agree to the terms and conditi" +

Line 413:  "ons.\">        </td>\r\n        <td width=\"20\" class=\"maintext\"></td>\r\n      </tr>\r" +

Line 414:  "\n    </table>    \r\n    <td width=\"280\" ><table width=\"280\" border=\"0\" align=\"cen" +

Line 415:  "ter\" cellpadding=\"0\" cellspacing=\"0\">\r\n      <tr>\r\n        <td class=\"maintext\">" +

Line 416:  "</td>\r\n      </tr>\r\n      <tr>\r\n        <td class=\"maintext\"><div align=\"left\"><" +

Line 417:  "/div></td>\r\n        </tr>\r\n      <tr>\r\n        <td class=\"maintext\"><div align=\"" +

Line 418:  "left\"></div></td>\r\n        </tr>\r\n      <tr>\r\n        <td class=\"maintext\"><div " +

Line 419:  "align=\"left\">*Address ::<br> \r\n          \r\n            <textarea name=\"r_Address" +

Line 420:  "\" cols=\"24\" rows=\"4\" wrap=\"VIRTUAL\" class=\"Textarea-Style\" id=\"r_Address\"></text" +

Line 421:  "area>\r\n        </div></td>\r\n      </tr>\r\n      <tr>\r\n        <td class=\"maintext" +

Line 422:  "\"><div align=\"left\">*Country ::<br> \r\n          \r\n            <input type=\"text\"" +

Line 423:  " name=\"r_Country\" size=\"30\" maxlength=\"128\" style=\'border: 1 outset rgb(50,50,50" +

Line 424:  ");\'>\r\n        </div></td>\r\n      </tr>\r\n      <tr>\r\n        <td class=\"maintext\"" +

Line 425:  "><div align=\"left\">*Port ::<br>\r\n          \r\n          <input name=\"r_Port\" type" +

Line 426:  "=\"text\" id=\"r_Port\" style=\'border: 1 outset rgb(50,50,50);\' size=\"30\" maxlength=" +

Line 427:  "\"128\">\r\n        </div></td>\r\n      </tr>\r\n      <tr>\r\n        <td class=\"maintex" +

Line 428:  "t\"><div align=\"left\">*Phone ::<br> \r\n          \r\n            <input name=\"r_Phon" +

Line 429:  "e\" type=\"text\" id=\"r_Phone\" style=\'border: 1 outset rgb(50,50,50);\' size=\"30\" ma" +

Line 430:  "xlength=\"128\">\r\n        </div></td>\r\n      </tr>\r\n      <tr>\r\n        <td class=" +

Line 431:  "\"maintext\"><div align=\"left\">\r\n          <p>*Fax :: \r\n              <br>\r\n      " +

Line 432:  "        <input name=\"r_Fax\" type=\"text\" id=\"r_Fax\" style=\'border: 1 outset rgb(5" +

Line 433:  "0,50,50);\' size=\"30\" maxlength=\"128\">\r\n          <br>\r\n          (this is requir" +

Line 434:  "ed by the shipping company)                </p>\r\n          </div></td>\r\n      </" +

Line 435:  "tr>\r\n      <tr>\r\n        <td class=\"maintext\"><div align=\"left\">\r\n          <p><" +

Line 436:  "/p>\r\n          <p></p>\r\n        </div></td>\r\n        </tr>\r\n      <tr>\r\n        " +

Line 437:  "<td class=\"maintext\"><div align=\"left\"><font size=\"2\">\r\n          <input type=\"s" +

Line 438:  "ubmit\" name=\"Submit\" value=\"..:: PROCEED ::..\" class=\"buttons\">\r\n        </div><" +

Line 439:  "/td>\r\n        </tr>\r\n      <tr align=\"left\">\r\n        <td class=\"maintext\"><div " +

Line 440:  "align=\"left\"></div></td>\r\n      </tr>\r\n      <tr align=\"left\">\r\n        <td clas" +

Line 441:  "s=\"maintext\"><div align=\"left\"> </div></td>\r\n      </tr>\r\n    </table></td>\r\n   " +

Line 442:  " <td width=\"20\" ></td>\r\n    </table>\r\n<p></p>\r\n<p></p>\r\n<p>\r\n  <input type=\"hidd" +

Line 443:  "en\" name=\"Date\" value=\"");

Line 444:              __ctrl.SetStaticString(15, "\">\r\n  <input type=\"hidden\" name=\"Grade\" value=\"");

Line 445:              __ctrl.SetStaticString(16, "\">\r\n  <input type=\"hidden\" name=\"Lot_No\" value=\"");

Line 446:              __ctrl.SetStaticString(17, "\">\r\n  <input type=\"hidden\" name=\"Price\" value=\"");

Line 447:              __ctrl.SetStaticString(18, "\">\r\n  <input type=\"hidden\" name=\"Year\" value=\"");

Line 448:              __ctrl.SetStaticString(19, "\">\r\n  <input type=\"hidden\" name=\"Model\" value=\"");

Line 449:              __ctrl.SetStaticString(20, "\">\r\n  <input type=\"hidden\" name=\"Type\" value=\"");

Line 450:              __ctrl.SetStaticString(21, "\">\r\n  <input type=\"hidden\" name=\"Shift\" value=\"");

Line 451:              __ctrl.SetStaticString(22, "\">\r\n  <input type=\"hidden\" name=\"CC\" value=\"");

Line 452:              __ctrl.SetStaticString(23, "\">\r\n  <input type=\"hidden\" name=\"Mileage\" value=\"");

Line 453:              __ctrl.SetStaticString(24, "\">\r\n  <input type=\"hidden\" name=\"Shaken\" value=\"");

Line 454:              __ctrl.SetStaticString(25, "\">\r\n  <input type=\"hidden\" name=\"VIN\" value=\"");

Line 455:              __ctrl.SetStaticString(26, "\">\r\n  <input type=\"hidden\" name=\"Colour\" value=\"");

Line 456:              __ctrl.SetStaticString(27, "\">\r\n  <input type=\"hidden\" name=\"Equipment\" value=\"");

Line 457:              __ctrl.SetStaticString(28, "\">\r\n  <input type=\"hidden\" name=\"Aircon\" value=\"");

Line 458:              __ctrl.SetStaticString(29, "\">\r\n  <input type=\"hidden\" name=\"Fuel\" value=\"");

Line 459:              __ctrl.SetStaticString(30, "\">\r\n  <input type=\"hidden\" name=\"Front\" value=\"");

Line 460:              __ctrl.SetStaticString(31, "\">\r\n  <input type=\"hidden\" name=\"Back\" value=\"");

Line 461:              __ctrl.SetStaticString(32, "\">\r\n  <input type=\"hidden\" name=\"interior\" value=\"");

Line 462:              __ctrl.SetStaticString(33, "\"> \r\n  <input type=\"hidden\" name=\"comment\" value=\"");

Line 463:              __ctrl.SetStaticString(34, "\">\r\n  <input type=\"hidden\" name=\"url\" value=\"");

Line 464:              __ctrl.SetStaticString(35, "\">\r\n  <input type=\"hidden\" name=\"dealer_name\" value=\"");

Line 465:              __ctrl.SetStaticString(36, "\">\r\n  <input type=\"hidden\" name=\"dealer_address\" value=\"");

Line 466:              __ctrl.SetStaticString(37, "\">\r\n  <input type=\"hidden\" name=\"dealer_tel\" value=\"");

Line 467:              __ctrl.SetStaticString(38, "\">\r\n  <input type=\"hidden\" name=\"dealer_fax\" value=\"");

Line 468:              __ctrl.SetStaticString(39, @"""> 

Line 469:  

Line 470:    

Line 471:  </p>

Line 472:  <p></p>

Line 473:  <div align=""center"">

Line 474:  <p><font size=""2""><br>

Line 475:        </p>

Line 476:  </form><!-- TemplateEndEditable --></td>

Line 477:        </tr>

Line 478:      </table>      </td>

Line 479:      <td align=""left"" valign=""top""><table width=""140"" border=""0"" cellspacing=""0"" cellpadding=""0"">

Line 480:        <tr>

Line 481:          <td width=""140"" height=""20""></td>

Line 482:        </tr>

Line 483:        <tr>

Line 484:          <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>

Line 485:        </tr>

Line 486:        <tr>

Line 487:          <td width=""140"" height=""30"" valign=""top""><div align=""center"" class=""style1"">Exporters<br />

Line 488:            Association Member </div></td>

Line 489:        </tr>

Line 490:        <tr>

Line 491:          <td width=""140"" height=""40"" valign=""top"" class=""style1""><div align=""center"">Used Car Dealer<br />

Line 492:            License Number:<br />

Line 493:            452780005589</div></td>

Line 494:        </tr>

Line 495:        <tr>

Line 496:          <td height=""30"" valign=""top"" class=""style1""><div align=""center"">Limited Company No:<br />

Line 497:            0219-02-013191</div></td>

Line 498:        </tr>

Line 499:        <tr>

Line 500:          <td height=""30"" valign=""top"" class=""style1"">");

Line 501:              __ctrl.SetStaticString(40, "<style type=\"text/css\">\r\n<!--\r\n.style1 {font-size: x-small}\r\n.style4 {\r\n\tfont-fam" +

Line 502:  "ily: Verdana, Arial, Helvetica, sans-serif;\r\n\tfont-size: 8px;\r\n}\r\n.style4 {\r\n\tfo" +

Line 503:  "nt-family: Verdana, Arial, Helvetica, sans-serif;\r\n\tfont-size: 8px;\r\n}\r\n-->\r\n</s" +

Line 504:  "tyle>\r\n\r\n<table width=\"140\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r" +

Line 505:  "\n    <td><table width=\"120\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacin" +

Line 506:  "g=\"0\">\r\n      <tr>\r\n        <td><div align=\"center\">*****</div></td>\r\n      </tr" +

Line 507:  ">\r\n    </table></td>\r\n  </tr>\r\n</table>\r\n\r\n<table width=\"140\" border=\"0\" cellspa" +

Line 508:  "cing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td width=\"10\">&nbsp;</td>\r\n    <td width" +

Line 509:  "=\"120\"><p align=\"center\">  \r\n\r\n<span id=\"wl_service:S2047.0\">\r\n<!-- Copyright (c" +

Line 510:  ") WorldLingo Inc. 2006 - Unauthorized modification prohibited -->\r\n<script type=" +

Line 511:  "\"text/javascript\" src=\"//www.worldlingo.com/S2047.0/loader\"></script>\r\n<noscript" +

Line 512:  ">\r\n  <center>\r\n    <a href=\"//www.worldlingo.com/S2047.0/noscript\"\r\n       title" +

Line 513:  "=\"Use WorldLingo to translate this website\">\r\n      <img src=\"//www.worldlingo.c" +

Line 514:  "om/S2047.0/translate.gif\"\r\n           alt=\"Use WorldLingo to translate this webs" +

Line 515:  "ite\">\r\n    </a>\r\n    <br/>\r\n    WorldLingo, the worlds leading online translatio" +

Line 516:  "n company.\r\n    <br/>\r\n    <a href=\"//www.worldlingo.com/S2047.0/worldlingo\"\r\n  " +

Line 517:  "     title=\"WorldLingo, the worlds leading online translation company.\">\r\n      " +

Line 518:  "www.worldlingo.com\r\n    </a>\r\n  </center>\r\n</noscript>\r\n<!-- Copyright (c) World" +

Line 519:  "Lingo Inc. 2006 - Unauthorized modification prohibited -->\r\n</span>\r\n\r\nAutospecs" +

Line 520:  " Ltd.<br />\r\nHaimu Bldg. 201<br />\r\nMinami Naruse<br />\r\n2-29-13 <br />\r\nMachida" +

Line 521:  "<br />\r\nTokyo 194-0045<br />\r\nJapan <br />\r\n<br />\r\nTel: <br />\r\n+81 (0)42 727 6" +

Line 522:  "442<br />\r\nFax: <br />\r\n+81 (0)3 4496 4640</p>\r\n      <p align=\"center\">SPONSORS" +

Line 523:  "HIP<br />\r\n        <br />\r\n      <a href=\"http://www.japaneseusedcars.com/auctio" +

Line 524:  "n/sponsorship/index.htm\"><img src=\"http://www.japaneseusedcars.com/images/pro_dr" +

Line 525:  "ift.jpg\" alt=\"drift racing sponsor\" width=\"120\" height=\"23\" border=\"0\" /></a></p" +

Line 526:  ">\r\n      <p align=\"center\"><a href=\"http://www.japaneseusedcars.com/auction/spon" +

Line 527:  "sorship/d1nz.htm\"><img src=\"http://www.japaneseusedcars.com/images/D1NZ _LOGO - " +

Line 528:  "hat 2 colS.gif\" alt=\"D1NZ\" width=\"104\" height=\"24\" border=\"0\" /></a></p>\r\n      " +

Line 529:  "<p align=\"center\"><a href=\"http://www.japaneseusedcars.com/auction/sponsorship/e" +

Line 530:  "dc.htm\"><img src=\"http://www.japaneseusedcars.com/images/EDC.gif\" alt=\"European " +

Line 531:  "Drift Championship\" width=\"120\" height=\"19\" border=\"0\" /></a></p>\r\n      <p alig" +

Line 532:  "n=\"center\"><a href=\"http://www.japaneseusedcars.com/auction/sponsorship/time_att" +

Line 533:  "ack.htm\"><img src=\"http://www.japaneseusedcars.com/images/Time_Attack.jpg\" alt=\"" +

Line 534:  "Time Attack\" width=\"120\" height=\"20\" border=\"0\" /></a>      \r\n      <p align=\"ce" +

Line 535:  "nter\">\t\r\n        <script type=\"text/javascript\">\r\n\r\n/***************************" +

Line 536:  "********************\r\n* Fading Scroller- c Dynamic Drive DHTML code library (www" +

Line 537:  ".dynamicdrive.com)\r\n* This notice MUST stay intact for legal use\r\n* Visit Dynami" +

Line 538:  "c Drive at http://www.dynamicdrive.com/ for full source code\r\n******************" +

Line 539:  "*****************************/\r\n\r\nvar delay = 2000; //set delay between message " +

Line 540:  "change (in miliseconds)\r\nvar maxsteps=30; // number of steps to take to change f" +

Line 541:  "rom start color to endcolor\r\nvar stepdelay=80; // time in miliseconds of a singl" +

Line 542:  "e step\r\n//**Note: maxsteps*stepdelay will be total time in miliseconds of fading" +

Line 543:  " effect\r\nvar startcolor= new Array(255,255,255); // start color (red, green, blu" +

Line 544:  "e)\r\nvar endcolor=new Array(0,0,0); // end color (red, green, blue)\r\n\r\nvar fconte" +

Line 545:  "nt=new Array();\r\nbegintag=\'<div style=\"padding: 5px\">\'; //set opening tag, such " +

Line 546:  "as font declarations\r\nfcontent[0]=\"<img src=http://www.japaneseusedcars.com/scro" +

Line 547:  "ller/images/civic.jpg><a href=\'http://www.japaneseusedcars.com/auction/testimoni" +

Line 548:  "als.htm\'>                              Tony...Louise drove the Honda and is very" +

Line 549:  " pleased.(Claudio)</a></font>\";\r\nfcontent[1]=\"<img src=http://www.japaneseusedca" +

Line 550:  "rs.com/scroller/images/rav4.jpg><a href=\'http://www.japaneseusedcars.com/auction" +

Line 551:  "/testimonials.htm\'>                                         I now have the car a" +

Line 552:  "nd it is everything you promised.(Steve)</a></font>\";\r\nfcontent[2]=\"<img src=htt" +

Line 553:  "p://www.japaneseusedcars.com/scroller/images/camry.jpg><a href=\'http://www.japan" +

Line 554:  "eseusedcars.com/auction/testimonials.htm\'>                                      " +

Line 555:  "  The car is performing perfectly and am delighted with this purchase.(Don)</a><" +

Line 556:  "/font>\";\r\nfcontent[3]=\"<img src=http://www.japaneseusedcars.com/scroller/images/" +

Line 557:  "evo4.jpg><a href=\'http://www.japaneseusedcars.com/auction/testimonials.htm\'>    " +

Line 558:  "                                   You can look forward to me recommending you t" +

Line 559:  "o would be purchasers.(Mike)</a></font>\";\r\nfcontent[4]=\"<img src=http://www.japa" +

Line 560:  "neseusedcars.com/scroller/images/harrier.jpg><a href=\'http://www.japaneseusedcar" +

Line 561:  "s.com/auction/testimonials.htm\'>                                         The cli" +

Line 562:  "ent says she is pleased.  Thanks to you.(Leslie)</a></font>\";\r\nfcontent[5]=\"<img" +

Line 563:  " src=http://www.japaneseusedcars.com/scroller/images/pulsar.jpg><a href=\'http://" +

Line 564:  "www.japaneseusedcars.com/auction/testimonials.htm\'>                             " +

Line 565:  "         The Pulsar is in good shape and working excellent. (Lennox)</a></font>\"" +

Line 566:  ";\r\nfcontent[6]=\"<img src=http://www.japaneseusedcars.com/scroller/images/prado.j" +

Line 567:  "pg><a href=\'http://www.japaneseusedcars.com/auction/testimonials.htm\'>          " +

Line 568:  "                            Great Tony!  Arrived as described.  Thankyou!(Maarte" +

Line 569:  "n)</a></font>\";\r\n\r\nclosetag=\'</div>\';\r\n\r\nvar fwidth=\'120px\'; //set scroller widt" +

Line 570:  "h\r\nvar fheight=\'150px\'; //set scroller height\r\n\r\nvar fadelinks=1;  //should link" +

Line 571:  "s inside scroller content also fade like text? 0 for no, 1 for yes.\r\n\r\n///No nee" +

Line 572:  "d to edit below this line/////////////////\r\n\r\n\r\nvar ie4=document.all&&!document." +

Line 573:  "getElementById;\r\nvar DOM2=document.getElementById;\r\nvar faderdelay=0;\r\nvar index" +

Line 574:  "=0;\r\n\r\n\r\n/*Rafael Raposo edited function*/\r\n//function to change content\r\nfuncti" +

Line 575:  "on changecontent(){\r\n  if (index>=fcontent.length)\r\n    index=0\r\n  if (DOM2){\r\n " +

Line 576:  "   document.getElementById(\"fscroller\").style.color=\"rgb(\"+startcolor[0]+\", \"+st" +

Line 577:  "artcolor[1]+\", \"+startcolor[2]+\")\"\r\n    document.getElementById(\"fscroller\").inn" +

Line 578:  "erHTML=begintag+fcontent[index]+closetag\r\n    if (fadelinks)\r\n      linkcolorcha" +

Line 579:  "nge(1);\r\n    colorfade(1, 15);\r\n  }\r\n  else if (ie4)\r\n    document.all.fscroller" +

Line 580:  ".innerHTML=begintag+fcontent[index]+closetag;\r\n  index++\r\n}\r\n\r\n// colorfade() pa" +

Line 581:  "rtially by Marcio Galli for Netscape Communications.  ////////////\r\n// Modified " +

Line 582:  "by Dynamicdrive.com\r\n\r\nfunction linkcolorchange(step){\r\n  var obj=document.getEl" +

Line 583:  "ementById(\"fscroller\").getElementsByTagName(\"A\");\r\n  if (obj.length>0){\r\n    for" +

Line 584:  " (i=0;i<obj.length;i++)\r\n      obj[i].style.color=getstepcolor(step);\r\n  }\r\n}\r\n\r" +

Line 585:  "\n/*Rafael Raposo edited function*/\r\nvar fadecounter;\r\nfunction colorfade(step) {" +

Line 586:  "\r\n  if(step<=maxsteps) {\t\r\n    document.getElementById(\"fscroller\").style.color=" +

Line 587:  "getstepcolor(step);\r\n    if (fadelinks)\r\n      linkcolorchange(step);\r\n    step+" +

Line 588:  "+;\r\n    fadecounter=setTimeout(\"colorfade(\"+step+\")\",stepdelay);\r\n  }else{\r\n    " +

Line 589:  "clearTimeout(fadecounter);\r\n    document.getElementById(\"fscroller\").style.color" +

Line 590:  "=\"rgb(\"+endcolor[0]+\", \"+endcolor[1]+\", \"+endcolor[2]+\")\";\r\n    setTimeout(\"chan" +

Line 591:  "gecontent()\", delay);\r\n\t\r\n  }   \r\n}\r\n\r\n/*Rafael Raposo\'s new function*/\r\nfunctio" +

Line 592:  "n getstepcolor(step) {\r\n  var diff\r\n  var newcolor=new Array(3);\r\n  for(var i=0;" +

Line 593:  "i<3;i++) {\r\n    diff = (startcolor[i]-endcolor[i]);\r\n    if(diff > 0) {\r\n      n" +

Line 594:  "ewcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);\r\n    } else {\r\n  " +

Line 595:  "    newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);\r\n " +

Line 596:  "   }\r\n  }\r\n  return (\"rgb(\" + newcolor[0] + \", \" + newcolor[1] + \", \" + newcolor" +

Line 597:  "[2] + \")\");\r\n}\r\n\r\nif (ie4||DOM2)\r\n  document.write(\'<div id=\"fscroller\" style=\"b" +

Line 598:  "order:1px solid black;width:\'+fwidth+\';height:\'+fheight+\'\"></div>\');\r\n\r\nif (wind" +

Line 599:  "ow.addEventListener)\r\nwindow.addEventListener(\"load\", changecontent, false)\r\nels" +

Line 600:  "e if (window.attachEvent)\r\nwindow.attachEvent(\"onload\", changecontent)\r\nelse if " +

Line 601:  "(document.getElementById)\r\nwindow.onload=changecontent\r\n\r\n      </script>\r\n     " +

Line 602:  "   \r\n      <div align=\"center\" div class=\"style4\">\r\n        <div align=\"left\">&c" +

Line 603:  "opy; 1998-2007 japaneseusedcars.com</div>\r\n        </span></div></td>\r\n    <td w" +

Line 604:  "idth=\"10\">&nbsp;</td>\r\n  </tr>\r\n</table>\r\n<p>&nbsp;</p>\r\n");

Line 605:              __ctrl.SetStaticString(41, @"</td>

Line 606:        </tr>

Line 607:        <tr>

Line 608:          <td class=""style1""></td>

Line 609:        </tr>

Line 610:      </table>

Line 611:  

Line 612:      <td align=""left"" valign=""top""><table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">

Line 613:        <tr>

Line 614:          <td></td>

Line 615:        </tr>

Line 616:      </table></td>

Line 617:    </tr>

Line 618:  </table>

Line 619:  </body>

Line 620:  </html>

Line 621:  ");

Line 622:              __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control5);

Line 623:              return __ctrl;

Line 624:          }

Line 625:          

Line 626:          public void __DataBind__control5(object sender, System.EventArgs e) {

Line 627:              System.Web.UI.Control Container;

Line 628:              System.Web.UI.DataBoundLiteralControl target;

Line 629:              target = ((System.Web.UI.DataBoundLiteralControl)(sender));

Line 630:              Container = ((System.Web.UI.Control)(target.BindingContainer));

Line 631:              

Line 632:              #line 181 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 633:              target.SetDataBoundString(0, System.Convert.ToString(ds_stock.FieldValue("AuctionNo", Container)));

Line 634:              

Line 635:              #line default

Line 636:              #line hidden

Line 637:              

Line 638:              #line 186 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 639:              target.SetDataBoundString(1, System.Convert.ToString(ds_stock.FieldValue("Y", Container).ToString("N0")));

Line 640:              

Line 641:              #line default

Line 642:              #line hidden

Line 643:              

Line 644:              #line 194 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 645:              target.SetDataBoundString(2, System.Convert.ToString(ds_stock.FieldValue("ManufactuRed", Container)));

Line 646:              

Line 647:              #line default

Line 648:              #line hidden

Line 649:              

Line 650:              #line 194 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 651:              target.SetDataBoundString(3, System.Convert.ToString(ds_stock.FieldValue("Model", Container)));

Line 652:              

Line 653:              #line default

Line 654:              #line hidden

Line 655:              

Line 656:              #line 195 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 657:              target.SetDataBoundString(4, System.Convert.ToString(ds_stock.FieldValue("SubModel", Container)));

Line 658:              

Line 659:              #line default

Line 660:              #line hidden

Line 661:              

Line 662:              #line 198 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 663:              target.SetDataBoundString(5, System.Convert.ToString(ds_stock.FieldValue("Shift", Container)));

Line 664:              

Line 665:              #line default

Line 666:              #line hidden

Line 667:              

Line 668:              #line 199 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 669:              target.SetDataBoundString(6, System.Convert.ToString(ds_stock.FieldValue("Mileage", Container)));

Line 670:              

Line 671:              #line default

Line 672:              #line hidden

Line 673:              

Line 674:              #line 200 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 675:              target.SetDataBoundString(7, System.Convert.ToString(ds_stock.FieldValue("CC", Container)));

Line 676:              

Line 677:              #line default

Line 678:              #line hidden

Line 679:              

Line 680:              #line 201 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 681:              target.SetDataBoundString(8, System.Convert.ToString(ds_stock.FieldValue("Colour", Container)));

Line 682:              

Line 683:              #line default

Line 684:              #line hidden

Line 685:              

Line 686:              #line 208 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 687:              target.SetDataBoundString(9, System.Convert.ToString(ds_stock.FieldValue("Grade", Container)));

Line 688:              

Line 689:              #line default

Line 690:              #line hidden

Line 691:              

Line 692:              #line 214 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 693:              target.SetDataBoundString(10, System.Convert.ToString(ds_stock.FieldValue("Equipment", Container)));

Line 694:              

Line 695:              #line default

Line 696:              #line hidden

Line 697:              

Line 698:              #line 240 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 699:              target.SetDataBoundString(11, System.Convert.ToString(ds_stock.FieldValue("Pic2", Container)));

Line 700:              

Line 701:              #line default

Line 702:              #line hidden

Line 703:              

Line 704:              #line 241 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 705:              target.SetDataBoundString(12, System.Convert.ToString(ds_stock.FieldValue("Pic3", Container)));

Line 706:              

Line 707:              #line default

Line 708:              #line hidden

Line 709:              

Line 710:              #line 246 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 711:              target.SetDataBoundString(13, System.Convert.ToString(ds_stock.FieldValue("Pic4", Container)));

Line 712:              

Line 713:              #line default

Line 714:              #line hidden

Line 715:              

Line 716:              #line 388 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 717:              target.SetDataBoundString(14, System.Convert.ToString(ds_stock.FieldValue("Auctioning", Container)));

Line 718:              

Line 719:              #line default

Line 720:              #line hidden

Line 721:              

Line 722:              #line 389 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 723:              target.SetDataBoundString(15, System.Convert.ToString(ds_stock.FieldValue("Grade", Container)));

Line 724:              

Line 725:              #line default

Line 726:              #line hidden

Line 727:              

Line 728:              #line 390 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 729:              target.SetDataBoundString(16, System.Convert.ToString(ds_stock.FieldValue("AuctionNo", Container)));

Line 730:              

Line 731:              #line default

Line 732:              #line hidden

Line 733:              

Line 734:              #line 391 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 735:              target.SetDataBoundString(17, System.Convert.ToString(ds_stock.FieldValue("Y", Container).ToString("N0")));

Line 736:              

Line 737:              #line default

Line 738:              #line hidden

Line 739:              

Line 740:              #line 392 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 741:              target.SetDataBoundString(18, System.Convert.ToString(ds_stock.FieldValue("ManufactuRed", Container)));

Line 742:              

Line 743:              #line default

Line 744:              #line hidden

Line 745:              

Line 746:              #line 393 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 747:              target.SetDataBoundString(19, System.Convert.ToString(ds_stock.FieldValue("Model", Container)));

Line 748:              

Line 749:              #line default

Line 750:              #line hidden

Line 751:              

Line 752:              #line 394 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 753:              target.SetDataBoundString(20, System.Convert.ToString(ds_stock.FieldValue("SubModel", Container)));

Line 754:              

Line 755:              #line default

Line 756:              #line hidden

Line 757:              

Line 758:              #line 395 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 759:              target.SetDataBoundString(21, System.Convert.ToString(ds_stock.FieldValue("Shift", Container)));

Line 760:              

Line 761:              #line default

Line 762:              #line hidden

Line 763:              

Line 764:              #line 396 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 765:              target.SetDataBoundString(22, System.Convert.ToString(ds_stock.FieldValue("CC", Container)));

Line 766:              

Line 767:              #line default

Line 768:              #line hidden

Line 769:              

Line 770:              #line 397 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 771:              target.SetDataBoundString(23, System.Convert.ToString(ds_stock.FieldValue("Mileage", Container)));

Line 772:              

Line 773:              #line default

Line 774:              #line hidden

Line 775:              

Line 776:              #line 398 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 777:              target.SetDataBoundString(24, System.Convert.ToString(ds_stock.FieldValue("Shaken", Container)));

Line 778:              

Line 779:              #line default

Line 780:              #line hidden

Line 781:              

Line 782:              #line 399 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 783:              target.SetDataBoundString(25, System.Convert.ToString(ds_stock.FieldValue("VIN", Container)));

Line 784:              

Line 785:              #line default

Line 786:              #line hidden

Line 787:              

Line 788:              #line 400 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 789:              target.SetDataBoundString(26, System.Convert.ToString(ds_stock.FieldValue("Colour", Container)));

Line 790:              

Line 791:              #line default

Line 792:              #line hidden

Line 793:              

Line 794:              #line 401 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 795:              target.SetDataBoundString(27, System.Convert.ToString(ds_stock.FieldValue("Equipment", Container)));

Line 796:              

Line 797:              #line default

Line 798:              #line hidden

Line 799:              

Line 800:              #line 402 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 801:              target.SetDataBoundString(28, System.Convert.ToString(ds_stock.FieldValue("Aircon", Container)));

Line 802:              

Line 803:              #line default

Line 804:              #line hidden

Line 805:              

Line 806:              #line 403 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 807:              target.SetDataBoundString(29, System.Convert.ToString(ds_stock.FieldValue("Fuel", Container)));

Line 808:              

Line 809:              #line default

Line 810:              #line hidden

Line 811:              

Line 812:              #line 404 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 813:              target.SetDataBoundString(30, System.Convert.ToString(ds_stock.FieldValue("Pic5", Container)));

Line 814:              

Line 815:              #line default

Line 816:              #line hidden

Line 817:              

Line 818:              #line 405 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 819:              target.SetDataBoundString(31, System.Convert.ToString(ds_stock.FieldValue("Pic6", Container)));

Line 820:              

Line 821:              #line default

Line 822:              #line hidden

Line 823:              

Line 824:              #line 406 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 825:              target.SetDataBoundString(32, System.Convert.ToString(ds_stock.FieldValue("Pic7", Container)));

Line 826:              

Line 827:              #line default

Line 828:              #line hidden

Line 829:              

Line 830:              #line 407 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 831:              target.SetDataBoundString(33, System.Convert.ToString(ds_stock.FieldValue("comment", Container)));

Line 832:              

Line 833:              #line default

Line 834:              #line hidden

Line 835:              

Line 836:              #line 408 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 837:              target.SetDataBoundString(34, System.Convert.ToString(ds_stock.FieldValue("url", Container)));

Line 838:              

Line 839:              #line default

Line 840:              #line hidden

Line 841:              

Line 842:              #line 409 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 843:              target.SetDataBoundString(35, System.Convert.ToString(ds_stock.FieldValue("name", Container)));

Line 844:              

Line 845:              #line default

Line 846:              #line hidden

Line 847:              

Line 848:              #line 410 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 849:              target.SetDataBoundString(36, System.Convert.ToString(ds_stock.FieldValue("address", Container)));

Line 850:              

Line 851:              #line default

Line 852:              #line hidden

Line 853:              

Line 854:              #line 411 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 855:              target.SetDataBoundString(37, System.Convert.ToString(ds_stock.FieldValue("tel", Container)));

Line 856:              

Line 857:              #line default

Line 858:              #line hidden

Line 859:              

Line 860:              #line 412 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 861:              target.SetDataBoundString(38, System.Convert.ToString(ds_stock.FieldValue("fax", Container)));

Line 862:              

Line 863:              #line default

Line 864:              #line hidden

Line 865:          }

Line 866:          

Line 867:          private void __BuildControlTree(System.Web.UI.Control __ctrl) {

Line 868:              System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));

Line 869:              

Line 870:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 871:              __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org" +

Line 872:  "/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n"));

Line 873:              

Line 874:              #line default

Line 875:              #line hidden

Line 876:              

Line 877:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 878:              this.__BuildControlds_stock();

Line 879:              

Line 880:              #line default

Line 881:              #line hidden

Line 882:              

Line 883:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 884:              __parser.AddParsedSubObject(this.ds_stock);

Line 885:              

Line 886:              #line default

Line 887:              #line hidden

Line 888:              

Line 889:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 890:              __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));

Line 891:              

Line 892:              #line default

Line 893:              #line hidden

Line 894:              

Line 895:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 896:              this.__BuildControl__control4();

Line 897:              

Line 898:              #line default

Line 899:              #line hidden

Line 900:              

Line 901:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 902:              __parser.AddParsedSubObject(this.__control4);

Line 903:              

Line 904:              #line default

Line 905:              #line hidden

Line 906:              

Line 907:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 908:              __parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(0, 5640, true));

Line 909:              

Line 910:              #line default

Line 911:              #line hidden

Line 912:              

Line 913:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 914:              __parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(5640, 8091, true));

Line 915:              

Line 916:              #line default

Line 917:              #line hidden

Line 918:              

Line 919:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 920:              this.__BuildControl__control5();

Line 921:              

Line 922:              #line default

Line 923:              #line hidden

Line 924:              

Line 925:              #line 1 "C:\Websites\japaneseusedcarscom\auction\stock\detail_honda.aspx"

Line 926:              __parser.AddParsedSubObject(this.__control5);

Line 927:              

Line 928:              #line default

Line 929:              #line hidden

Line 930:          }

Line 931:          

Line 932:          protected override void FrameworkInitialize() {

Line 933:              SetStringResourcePointer(ASP.detail_honda_aspx.__stringResource, 13731);

Line 934:              this.__BuildControlTree(this);

Line 935:              this.FileDependencies = ASP.detail_honda_aspx.__fileDependencies;

Line 936:              this.ContentType = "text/html";

Line 937:              this.ResponseEncoding = "utf-8";

Line 938:              this.EnableViewStateMac = true;

Line 939:              this.Request.ValidateInput();

Line 940:          }

Line 941:          

Line 942:          public override int GetTypeHashCode() {

Line 943:              return 904074104;

Line 944:          }

Line 945:      }

Line 946:  }

Line 947:  

 
 
 
 
 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 

Open in new window

0
 
LVL 29

Accepted Solution

by:
Göran Andersson earned 50 total points
ID: 20594453
I see, you get the error message because the FieldValue method returns a string, not an int. The ToString method for the string class doesn't have any overload that takes a formatting string.

That is also the reason why the value was not formatted using the String.Format method. As the value is already a string when it's sent to the method, it's format is not changed.

The FieldValue method returns a string, regardless of the data type of the field, so it's rather useless if you want to specify the formatting.

A quick and dirty solution would be to parse the value back to an int and then format it into a string:

<%# Int32.Parse(ds_stock.FieldValue("Y", Container)).ToString("N0") %>

However, it would be better if you could get the value as an int, instead of converting it back and forth. I tried to find documentation about the MacroMedia DataSet class to find any method that would do that, but I couldn't find much. Does the class expose the System.Data.DataSet class that it contains, so that you can access the data that way?
0
 

Author Comment

by:japaneseusedcars
ID: 20594642
I'm afraid I couldn't find any relevent documentation about MacroMedia dataset classes either - which is why I came to expert-exchange!  Along with the fact i am a relative beginner with this.

But your solution <%# Int32.Parse(ds_stock.FieldValue("Y", Container)).ToString("N0") %> works, so if you can't suggest a better solution then I guess I will need to use this.

Please let me know if you can come up with something else or not.

Many thanks,

Tony.
0
 
LVL 29

Expert Comment

by:Göran Andersson
ID: 20595095
I am afraid that's the best that I can do for now. I searched a lot to find some kind of reference for the DataSet object, but I found absolutely nothing of the kind.

I found one example where an Int16 is read from a DataSet, but that uses parsing just the way that I suggested:

http://www.adobe.com/devnet/dreamweaver/articles/graphing_aspnet_04.html
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 11

Expert Comment

by:saleek
ID: 20598212
Hi,

You said....

         <%# String.Format("{0:N0}", ds_stock.FieldValue("Y", Container)) %>
            did not result in an error, but did not format the data

If this is the case, then your solution is as follows...

HtmlEncode = "False"

Add the above property setting to your boundfield/column in your aspx designer code (or wherever you create your column) and this should resolve the issue.

regards,

Saleek
0
 
LVL 11

Expert Comment

by:saleek
ID: 20598215
<asp:BoundColumn DataField="Y"
        HeaderText="FOB Price<br>(Yen)"
            ItemStyle-HorizontalAlign="Right"
        ReadOnly="false"  SortExpression="Y"
            DataFormatString="{0:N0}"      
        HtmlEncode="False"
        Visible="true" runat="server"/>
0
 

Author Comment

by:japaneseusedcars
ID: 20598384
Why would I do this Saleek?
The problem data is not in bound columns in a master page, it is in the details page.
0
 
LVL 11

Expert Comment

by:saleek
ID: 20598404
Try setting this property in your content page (where you create the column).

Microsoft changed the formatting method slightly. All formatting on dates/numbers are encoded to protect the app from unsafe scripts.

Give it a try, if you are not sure, then provide the code where you set your column.

thanks,

saleek
0
 

Author Comment

by:japaneseusedcars
ID: 20598458
I repeat Saleek, there is absolutely no problem with formatting in the columns in the master page!

So why would I need to change the code in the columns?!

The problem is in the details page!!  There are no bound columns in the details page!!

Possibly you need to reread the question?  Or are you saying that changing the code in the master page will change the result in the seperate details page?!
0
 
LVL 11

Expert Comment

by:saleek
ID: 20598485
I just looked at your website and your details page displays the FOB price as
   FOB Price: 1,113,000

Is this not how you want it displayed??

0
 

Author Comment

by:japaneseusedcars
ID: 20598576
Saleek - you really need to learn how to read please.

Yes, everything currently displays correctly in the details page as I have used the 'dirty' solution proposed by GreenGhost whilst I waited for another reply from him/her.

I the meantime you have come up with another solution - but it seems you are referring to bound columns in a mater page rather than a details page.  As far as I can tell you are simply confuding the situation and misunderstanding the question.

But - as you have still not answered my question I ask again - "Or are you saying that changing the code in the master page will change the result in the seperate details page?!"



0
 
LVL 25

Expert Comment

by:Rouchie
ID: 20598934
japaneseusedcars

There is no better solution that GreenGhost's in my opinion.  You should no that DW supports ASP.NET incredibly badly, with very support for the actual functionality.  Instead for some weird reason, Macromedia decide to write their version of much of it, and forget about the functionality provided by Microsoft.
If you want to develop ASP.NET pages and have access to the full functionality of .NET, then get the free Visual Studio Web Developer tool.

GreenGhost may state the solution provided is quick and dirty, but in fact it works and is probably the only viable solution to Macromedia's odd and dirty implementation of .NET

Hope that clears things up for you :-)
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 20598942
"You should no" should be "You should know"

Cursed brain...
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 20598945
"with very support " should be "with very little support"

Double Cursed Brain...
0
 

Author Comment

by:japaneseusedcars
ID: 20601910
Very much appreciate your input Rouchie.
0
 

Author Closing Comment

by:japaneseusedcars
ID: 31412533
Thanks GG
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now