rendered paste bodyTableCell tbcc=( TableCell ) PHItems.FindControl ( oRd [ "LeaseName" ].ToString ( ) );
protected void dd_TextChanged ( object sender , EventArgs e )
{
DropDownList dd =( DropDownList ) sender;
// Table TTB;
int iQt=Convert.ToInt32 ( dd.Text );
TableCell tbc=Page.FindControl ( "TCQtyPriced"+SysID.Text ) as TableCell;
if ( tbc!=null )
tbc.Text="$ "+Convert.ToString ( iQt*c_TLK.Quote_Sell )+".00";
c_TLK.TableSelect ( "Lease" , "LeaseActive = "+"'"+1+"'" , "LeaseActive, LeaseSort DESC" , "LeaseName, LeaseMultiplier, LeaseDisclaimer, LeaseHeading, LeaseActive, LeaseTerm" );
oRd=c_TLK.TLSql.ExecuteReader ( CommandBehavior.CloseConnection );
if ( oRd.HasRows )
{
while ( oRd.Read ( ) )
{
tbc=( TableCell ) this.FindControl ( oRd [ "LeaseName" ].ToString ( ) );
// PlaceHolder ph=( PlaceHolder ) wt.Tabs.FromKeyTab ( e.Tab.Key ).ContentPane.FindControl ( "PHSpec"+NewProd );
//tbc=Page.FindControl ( oRd [ "LeaseName" ].ToString ( ) ) as TableCell;
if ( tbc!=null )
tbc.Text=oRd [ "LeaseName" ].ToString ( )+" . . . ."+"<span class="+"\""+"ConfigTextLeaseR"+"\""+"> "+Math.Round ( ( iQt*c_TLK.Quote_Sell )*Convert.ToDecimal ( oRd [ "LeaseMultiplier" ].ToString ( ) ) , 2)+" </span>";
}
}
oRd.Close ( );
}