0
“ 的SelectCommand =” 选择情况下,当LEN(T.hallticketno)= 1,则 '0000' +转换(VARCHAR(20),T。 (T.hallticketno)= 2 then'000'+ Convert(varchar(20),T。(T.hallticketno)= 3 then'00'+ Convert(varchar(20),T.hallticketno) len(T.hallticketno)= 4 then'0'+ Convert(varchar(20) ),T.hallticketno) 时LEN(T.hallticketno)= 5,然后转换(VARCHAR(20),T.hallticketno)端作为Hallticketno ,T.Studentname,(选择从senseimaster senseiname其中senseiid = T.senseiID )作为SenseiName,(从kyumaster中选择kyuame,其中kyuid = T.kyuid)作为Kyu,(从groupmaster中选择groupname,其中groupid = T.groupid)作为GroupName,T.Fathername,convert(varchar(20),T.dob,103 )作为Dob,当T.sex = 0时,则'男'或其他'女'结束为性别 from applicationForm T where franchiseid = @ FRANCHISEID and Competitionid = @ competitionId 为了通过组名“> - %>
公司名称
市 - %>
<table id ="sample " border ="1px" visible ="false" >
<tr>
<asp:Label ID="Label13" runat ="server" Font-Bold="true" Text ='<%#Bind(CompetitionName)%>' ></asp:Label><td style="width: 100px">
</td>
<td style="width: 106px">
</td>
<td style="width: 127px">
</td>
<td style="width: 129px">
</td>
</tr>
<tr>
<td style="width: 100px">
Venue</td>
<td style="width: 106px">
<asp:Label ID="Label14" runat ="server" Font-Bold="true" Text ='<%Bind(competitionaddress) %>' ></asp:Label>
</td>
<td style="width: 127px">
Date of Competition</td>
<td style="width: 129px">
<asp:Label ID ="Label15" runat ="server" ></asp:Label>
</td>
</tr>
<tr>
<td style="width: 100px">
Hall Ticket No</td>
<td style="width: 106px">
<asp:Label Font-Bold="true" Font-Size="X-Large" ID="Label16" runat="server" ></asp:Label>
</td>
<td style="width: 127px">
Group</td>
<td style="width: 129px">
<asp:Label ID="Label17" runat="server" Font-Bold="true"></asp:Label>
<%--<asp:Label ID="Lable1" runat ="server" Font-Bold="true" Text ='<%Bind("GroupName")%>'></asp:Label>--%>
</td>
</tr>
<tr>
<td style="width: 100px">
Student Name</td>
<td style="width: 106px">
<asp:Label ID ="Lable18" runat ="server" ></asp:Label>
</td>
<td style="width: 127px">
Kyu</td>
<td style="width: 129px">
<asp:Label ID="Lable19" runat ="server" ></asp:Label>
</td>
</tr>
<tr>
<td rowspan="3" style="width: 100px">
</td>
<td style="width: 106px">
<asp:Label ID ="Lable20" runat ="server" ></asp:Label>
</td>
<td style="width: 127px">
Franchise Name</td>
<td style="width: 129px">
<asp:Label ID ="Lable21" runat ="server" ></asp:Label>
</td>
</tr>
<tr>
<td style="width: 106px">
</td>
<td style="width: 127px">
Sensei's Name</td>
<td style="width: 129px">
<asp:Label ID ="Lable22" runat ="server" ></asp:Label>
</td>
</tr>
<tr>
<td style="width: 106px">
</td>
<td style="width: 127px">
</td>
<td style="width: 129px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 106px">
Signature of HO</td>
<td style="width: 127px">
</td>
<td style="width: 129px">
Signature of Student</td>
</tr>
</table>
<%--</asp:Repeater> --%>
如果我点击的售票大厅则数据sholud被绑定到特定的领域......怎么办的朋友plz帮助我...
PLZ给我一个例子朋友 – Lingesh 2010-07-07 11:23:39
这里是:http://msdn.microsoft.com/en-us/library/bb288036.aspx – onof 2010-07-07 11:30:59
感谢朋友的有用 – Lingesh 2010-07-07 11:37:11