private void AttachDataSet(DataSet ds)
{
// You should not have already an associated dataset
Debug.Assert(_dataSet == null);
Debug.Assert(ds != null);
if (ds.FBoundToDocument)
throw new ArgumentException(SR.DataDom_MultipleDataSet);
ds.FBoundToDocument = true;
_dataSet = ds;
// Register the special listener to catch the first DataRow event(s)
BindSpecialListeners();
}