After I bind a datagrid to a typed dataset in a WinForm application, I
immediately check the Rows.Count and get a value of 0:

EmpGrid.DataSource = _empData;
EmpGrid.DataMember = "Employees";

MessageBox.Show (_empData.Employees.Rows.Count.ToString() );

The datagrid displays all the records in the dataset, why does my Rows.Count
say its 0 ?

Thanks for any info
Ron

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to