//------Begin print ContentTable
DMdAutoPrint->ADOQueryPrint->Close();
DMdAutoPrint->ADOQueryPrint->SQL->Clear();
DMdAutoPrint->ADOQueryPrint->SQL->Add("Select * from t_report_content where n_listid='"+strTableID.Trim()+"'");
DMdAutoPrint->ADOQueryPrint->Open();
DMdAutoPrint->ADOQueryPrint->First();
while ( !DMdAutoPrint->ADOQueryPrint->Eof )
{
AnsiString strControlName,strCCaption,strCLeft,strCTop,strCBackColor,strCColor,strCFont,strCFontSize,strCImageFile,strCLabelBind,strELabelBind,strCETable;
int intILength,intIHeight;