程序实现的是根据db.CheckType(Session("UserName"))检查权限返回的Boolean来提供是否有超连接存在。现在db.CheckType(Session("UserName"))返回的是正确的,但是数据并不显示有超连接存在
    '检查服务的权限,判断是否提供回复短信功能
    Private Sub Repeater1_ItemCommand(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles Repeater1.ItemCommand
        If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
            Dim StrMobile As String = CType(e.Item.FindControl("Mobile_Str"), Label).Text
            If db.CheckType(Session("UserName")) Then
                StrMobile = "<a href='Send.aspx?Id=" & StrMobile & " target='_blank'>" & StrMobile & "</a>"
            Else
                StrMobile = StrMobile
            End If
            CType(e.Item.FindControl("Mobile_Str"), Label).Text = StrMobile
        End If
    End Sub
html中
。。
<td align="center"><asp:Label ID="Mobile_Str" runat=server text='<%# DataBinder.Eval(Container.DataItem,"Mobile") %>'></asp:label></td>
。。