v-wywang
8/30/2007 7:12:00 AM
Hello Manjree,
Just as what Cor said, the Property Table->Rows->Count will return the
number of rows in current Table.
If rows retruned by Table::Select() method, Table->Select()->Length
proptery could tell us how many rows retruned by this selection criteria.
Try the following line:
array<System::Data::DataRow^>^ rows=gcnew
array<System::Data::DataRow^>(MyTable->Select("ID>100")->Length);
rows=MyTable->Select("ID>100");
Hope this helps. Please let me know if you have any more concern. It's my
pleasure to assist you. Have a great day.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.