Results 1 to 12 of 12

Thread: IsEmpty with a dataset?

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2004
    Posts
    10

    IsEmpty with a dataset?

    Hi,

    I am trying to test whether a table in a dataset is empty or not using an IF statement. ie has the SQL query retrieved any results or not. the table is called myLinks as below:

    <%# IF myLinks.IsEmpty() THEN %>
    <asp:Repeater id="myLinks" runat="server">

    ...

    ...

    </asp:Repeater>


    <% End If %>

    Is there such a thing as IsEmpty with these if not how do I perform such a test?


    I appreciate any help I can get, thanks,

    beNcooKe
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width