Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find a row on text in a column?
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01455096
Message ID:
01455100
Vues:
36
>Hi,
>
>The following code will find the Data Row that has a particular text
>
>drFound = ds.Tables[0].Rows.Find(txtFindArg.Text);
>
>
>How do you modify this code to make Find search in a particular column (by column name or column number)?
>
>TIA.

Check Select method of DataRow, see here

http://msdn.microsoft.com/en-us/library/kcs3hdk5.aspx
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform