با سلام.

MessageBox.Show(MyDataSet.Tables[0].Rows.Count.Tostring());