C# MYSQL结果以特定的表格格式显示在结果页面上

C# MYSQL结果以特定的表格格式显示在结果页面上,c#,mysql,asp.net,C#,Mysql,Asp.net,我正在使用VS2010,MYSQL,ASP.Net,C。 我需要在我的ASPX页面上创建以下结构。 我通过查询得到了所需的结果,但现在我需要在单行中创建图像的描述部分。请帮帮我,怎么做 Select tbladjustment.colId,tbladjustment.colDate, CASE WHEN ( tbladjustmentdetail.colDebit is null ) = true THEN 'Credit' WHEN ( tbladjustmentdetail.colCredi

我正在使用VS2010,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;