O Optimus Jul 13, 2006 #1 Hi all, How do I determine if a datagrid contains no row in .netcf? Thanks, Optimus
I Ilya Tumanov [MS] Jul 13, 2006 #2 It's easy: DataGrid does not have internal storage so it never contains rows. DataGrid's DataSource contains rows (or not), so please check number of rows in the data source instead. -- Best regards, Ilya This posting is provided "AS IS" with no warranties, and confers no rights. *** Want to find answers instantly? Here's how... *** 1. Go to http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en 2. Type your question in the text box near "Search this group" button. 3. Hit "Search this group" button. 4. Read answer(s).
It's easy: DataGrid does not have internal storage so it never contains rows. DataGrid's DataSource contains rows (or not), so please check number of rows in the data source instead. -- Best regards, Ilya This posting is provided "AS IS" with no warranties, and confers no rights. *** Want to find answers instantly? Here's how... *** 1. Go to http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en 2. Type your question in the text box near "Search this group" button. 3. Hit "Search this group" button. 4. Read answer(s).