Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan in ADO?
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00943893
Message ID:
00944412
Vues:
18
>You "can", but you need to do something like this
>
>
>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.

Anyway I opted for this:
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
}
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform