Information générale
Catégorie:
The Mere Mortals .NET Framework
Thanks, Jason.
>Jim,
>There is a method that will tell you if a *datatable* is empty. I think that might be more what you're looking for?
>
>Check out mmBusinessObject.GetRowCount() -- it has a couple overloads for passing the name of the datatable or reference to a dataview you're intereseted in. If you don't pass a parameter, it calls the overload that expects the name of the table, using this.TableName.
>
>Hope that helps,
>---J
>
>
>
>>Daniel,
>>
>>I just looked at class you pointed me to, and the method applies to strings. I'm looking for something that will tell me if my dataset is empty.
>>
>>
>>>In MMUtils there is an Empty() method. Do you like MM.net better than MM VF?
>>>I love it!
>>>
>>>>In MM Visual FoxPro, business objects had a method called IsEmpty() for checking to see if there is any data. How can I accomplish the same thing in MM .Net?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement