我正在使用VS 2010,MYSQL,ASP.Net,C#。 我需要在ASPX页面上创建以下结构。 我通过查询获得了所需的结果,但现在我需要在单行中创建图像的描述部分。请帮助我,如何完成这项工作?
Select tbladjustment.colId,tbladjustment.colDate,
CASE
WHEN ( tbladjustmentdetail.colDebit is null ) = true THEN 'Credit'
WHEN ( tbladjustmentdetail.colCredit is null ) = true THEN 'Debit'
ELSE 'Status'
END AS DRCR,
tblaccounts.colAccName, tbladjustmentdetail.colDebit,
tbladjustmentdetail.colCredit,
tblcurrency.Currency,tbladjustment.colMemo
from tbladjustment
inner join tbladjustmentdetail on tbladjustment.colId=tbladjustmentdetail.colAdjustId
inner join tblcurrency on tbladjustmentdetail.colCurrencyId=tblcurrency.ColId
inner join tblaccounts on tbladjustmentdetail.colAccId=tblaccounts.colAccId
where tbladjustment.colCompanyId= 8 && tbladjustment.colIsDeleted=0 && tblladjustmentdetail.colIsDeleted=0;