locked
Row count from metatable RRS feed

  • Question

  • User1291592770 posted

    How can I have to row count of a MetaTable ? 

    and How can I get the count based on specific filter?

    Friday, June 29, 2012 3:42 AM

Answers

  • User3866881 posted

    How can I have to row count of a MetaTable ? 

    Please kindly correct me if I understand you wrongly……

    As far as I see,I think your Meta Table's Row count is just the same of raw table's count,just use SqlCommand+"Select count(*) from xxx" and do execute that……

    How can I get the count based on specific filter?

    First please filter the result,and then if you are using DynamicField in a GridView,just use GridView.Rows.Count to get what you want……

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 30, 2012 8:45 PM

All replies

  • User-330204900 posted

    Hi Uniprof, when you say metatable are you talking about the metadata or the real data in the actual table?

    Friday, June 29, 2012 5:15 AM
  • User3866881 posted

    How can I have to row count of a MetaTable ? 

    Please kindly correct me if I understand you wrongly……

    As far as I see,I think your Meta Table's Row count is just the same of raw table's count,just use SqlCommand+"Select count(*) from xxx" and do execute that……

    How can I get the count based on specific filter?

    First please filter the result,and then if you are using DynamicField in a GridView,just use GridView.Rows.Count to get what you want……

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 30, 2012 8:45 PM