datatable question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike P

    #1

    datatable question

    How do you determine if a datatable is empty?



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Ravikanth[MVP]

    #2
    datatable question

    Hi

    if dt is your DataTable
    Check row Count
    1.dt.Rown.Count
    2. dt == null
    HTH

    Ravikanth[MVP]


    [color=blue]
    >-----Original Message-----
    >How do you determine if a datatable is empty?
    >
    >
    >
    >*** Sent via Developersdex http://www.developersdex.com[/color]
    ***[color=blue]
    >Don't just participate in USENET...get rewarded for it!
    >.
    >[/color]

    Comment

    Working...