Skip to content

How do I display the row count of a particular column in C#.

Debjani

Asked Apr 21, 2006, 10:47 AM EDT1 answer
Share
LinkedInX
How do I display the row count of a particular column in C#. The row count  number should get automatically updated when the databse gets updated.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • +1
    hi,
    i believe that all columns in a data set have equal number of rows ,and if not i dont see why that wouldnt work:  dataset.Rows["yourColumn"].size()//deal with it one dimentional array
    hope this helps,
    +1