Function to find the given string in the listView control in any column
Categories: Lists & Grids
|
Tags: Developers, 1. Beginner, Pre v6.3, v6.3, v6.4 and Later, 2. Intermediate, 3. Advanced
Revision:
1
Posted:
12/Jan/2008
Updated:
12/Jan/2008
Status:
Publish
Types: Article
|
//*** This function will return the Matching Index from the List view. If not found it will return -1
//
//
public static int Find_ListView(ref Gizmox.WebGUI.Forms.ListView lvwTmp, string strFindString, int intFindColumn)
{
for (int intLoop = 0; intLoop < lvwTmp.Items.Count; intLoop )
{
if (lvwTmp.Items[intLoop].SubItems[intFindColumn].Text.CompareTo(strFindString) == 0) return intLoop;
}
return -1;
}
About the author
Related Articles
|
Lists & Grids
|
|
|
I played a bit around with the new 6.4 ListView control, its quite amazing what you can do with it. It opens a lot of new ways to present data in a better and more userfriendly way.
Tags:
Architects, Developers, Data Binding, C#, 2. Intermediate, 3. Advanced, Customization, Data Binding, v6.4 and Later
|
|
|
Tags:
Developers, Data Binding, 2. Intermediate, 3. Advanced, Customization, Layouting, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Developers, Data Binding, Navigation, 1. Beginner, 2. Intermediate, Data Binding, Navigation, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
Tags:
Architects, Developers, Data Binding, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
|
|
|
Tags:
Developers, Data Binding, Windows & Dialogs, 1. Beginner, 2. Intermediate, Customization, Data Binding, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
|
|
|
The DataListView control is an extension to the Visual WebGui ListView. It inherits from the Visual WebGui ListView control and adds DataSource/DataMemeber support to provide a DataGridView behavior in terms of data population.
Tags:
Developers, Data Binding, 1. Beginner, 2. Intermediate, 3. Advanced, Data Binding, Pre v6.3
|
|
|
|