>for(int iRowCtr=0;iRowCtr<MyTable.Rows.Count;iRowCtr++) { > DataRow Dr = myTable.Rows[iRowCtr]; >That's the reason I asked. My first inclination was to do what you just demonstrated but after doing it I thought that a method like find() must exist that does the same thing.
this.oDSBritt.Tables["britt"].PrimaryKey = new DataColumn[] {this.oDSBritt.Tables["britt"].Columns["brittid"]}; this.oBrittRow = this.oDSBritt.Tables["britt"].Rows.Find(this.cboSelect.SelectedValue); if ( this.oBrittRow != null ) { // And so on and so forth }