?ú?a·¢ASP.NET??μ??????D£??-3£ó?±í???ˉμ?·?ê???ê?êy?Y?£×?3£ó?μ??é?ü?íê?DataGrid°ó?¨DataSetêy?Yμ?·?ê??£?ú×?1yμ?èí?t?????D£?óD3??±í???ˉêy?Yμ?μ?Dí′|àí·?ê??£
1?¢DataGrid°ó?¨êy?Y?′?£?a??·?ê?′ó?òó?μ?×??à£?μ?ê?DataGridó?ADO.NETíê?àμ?°ó?¨·?ê?£??1ê?è?è?2????£??ò?é?μ?DataGrid·???oü??êêó|2?í?????μ?ì?êa·???£????ò?úDataGridé?×?3?μ???D??ˉ′|àíò2?á·?3£μ??é·3?£
2?¢ó?XML(êy?Y)£?XSL(?ùê?μ¥)?£′ó?ò?üàí?a£?DataSet°ó?¨μ?DataGridμ?êμ???úàí2?1yè?′??£è?í??ùê?£?êμ???a?ùμ?ò???±í??£??a·¢è??±?éò????éμ?éè??XSLμ?·????ùê??£
3?¢?±?ó??êy?Y????μ?HTML?£?a??·?ê?óDD?íá£?μ?óDD?ê±oòè′·?3£óDD§£??è?′êμ??μ?′ú???£??ê?′ú??ê?êμ??é?í??ùê?μ?±í???£
1<table style="WIDTH: 100%; BORDER-COLLAPSE: collapse; HEIGHT: 10px">
2????????????????????<tr>
3????????????????????????<td align="center">
4????????????????????????????<TABLE id="tblContainer" class="MsoNormalTable" style="WIDTH: 380px; BORDER-COLLAPSE: collapse; HEIGHT: 10px"
5????????????????????????????????cellSpacing="0" cellPadding="6" border="1" runat="server" bordercolor="#99cccc">
6????????????????????????????????<tr>
7????????????????????????????????????<td colspan="2" align="center">
8????????????????????????????????????????<P><FONT size="3"><STRONG><FONT face="??ì?">×?o?1üàí2?è??±?°??</FONT></STRONG></FONT></P>
9????????????????????????????????????</td>
10????????????????????????????????</tr>
11????????????????????????????????<tr>
12????????????????????????????????????<td align="center" bgcolor="#003399"><FONT size="2" color="#ffffff"><STRONG>è??±D???</STRONG></FONT></td>
13????????????????????????????????????<td align="center" bgcolor="#003399"><FONT size="2" color="#ffffff"><STRONG>2????°??</STRONG></FONT></td>
14????????????????????????????????</tr>
15????????????????????????????</TABLE>
16????????????????????????</td>
17????????????????????</tr>
18????????????????</table>
?±?óó?ASP.NET WebControlsμ?Add·?·¨£???Labelìí?óμ?HTMLμ?Cell?D?£
1public class WebForm2 : System.Web.UI.Page
2????{
3
4????????struct PersonRole
5????????{
6????????????public string name;
7????????????public string role;
8????????}
9
10????????protected System.Web.UI.HtmlControls.HtmlTable tblContainer;
11????????public string strAuditItemID = "A899B637-AC47-42EB-9B61-A61C9C880DDC";
12????????private void Page_Load(object sender, System.EventArgs e)
13????????{
14????????????// ?ú′?′|·???ó??§′ú
|