hmm habe es jetzt anderst gel�st, nicht so elegant aber efektiv:

  For Each dtRow in objDataSet.Tables("ProperTab").Select("PropertyCode = '"
& UCASE(Daten.Item("property")) & "'")
   dtRow.Delete()
  Next

geht auch ;-)

gruss und danke

pat



----- Original Message ----- 
From: "Alexander Zeitler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 12:14 PM
Subject: RE: [Asp.net] objTable CurrentRow




> bei
> objDataSet.Tables("ProperTab").Rows.Remove(objDataRow)
>
> von
>  objDataRow = DataRowVersion.Current
>       objDataSet.Tables("ProperTab").Rows.Remove(objDataRow)
>

also warum das passiert, ist mir klar, DataRowVersion
ist ein Enum, TableRowCollection.Remove erwartet eine
TableRow.

Du m��test es vielleicht so machen:

if(DataRowVersion.Current)
{
objDataSet.Tables("ProperTab").Rows.Remove(objDataRow)
}

(sofern das dem entspricht, was Du erreichen willst)

Gruss

Alex


*************************
_______________________________________________
This ASP.NET email is sponsored by:
UDEX ProMenu.Net  - Die Software f�r Navigation - Jetzt kostenlos testen!
Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com

_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net
*************************

*************************
_______________________________________________
This ASP.NET email is sponsored by:
UDEX ProMenu.Net  - Die Software f�r Navigation - Jetzt kostenlos testen!
Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com

_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net
*************************

Antwort per Email an