Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find a row on text in a column?
Message
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01455096
Message ID:
01455100
Views:
35
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform