Home
Tutorial
Articles
Forum
Interview Question
Code Snippets
Technology News
Fun Zone
Poll
Web Links
Certification
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Dhananjay Kumar
nishithraj
Shashi Ray
Kunal Chowdhury
Diptimaya Patra
Home
>>
Forum
>>
Windows Application
>>
Post New Question
Subscribe to Forum
Seraching Listview item
Posted By :
subash
Posted Date :
26/06/2009
Points :
2
Category :
Windows Application
Hi,
I have listview and Textbox in a winform.Listview contains more than 10 items.I want to search listview items with textbox.text values.How it is Possible?
Thanks
Subash
Responses
Author:
Amit Mehra
Company URL:
http://www.dotnetspark.com
Posted Date: 01/07/2009 Points: 5
Hi,
I think the only option is looping thru the DataSource of the ListView and where ever you got the data you have to color the entire row.
Thanks,
Amit
Please "
Mark As Answer
" if this post help you.
Author:
Santosh
Company URL:
http://santoshdotnetarena.blogspot.com
Posted Date: 08/10/2009 Points: 5
hi
try with below code
For i As Integer = 0 To ListView1.Items.Count - 1
If ListView1.Items.Item(i).Text = TextBox1.Text Then
MessageBox.Show("Record Found")
End If
Next
Regards
Santosh
http://santoshdotnetarena.blogspot.com/
Post Reply
You must
Sign In
To post reply
Related Questions
DATAGRID NULL ITEM REPLACE PROBLEM
How can we select a particular row in the listview control
Seraching Listview item
ASP.NET - ListView binding - Clarification
ASP.NET - Scrollable Panel and Placing ListView in that
Latest Forum Questions From The Same Category
child form size should auto fit with the parent form siize
saving childs form changes from parent form(MDI-Form)
How to Reduce Flickering of Listview Control in .net
how to conenct Samba server using VB.net
playin songs on dgv content click
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Here
Quick Links For Forum Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
OOPs
Silverlight
IIS
JQuery
JavaScript/VBScript
Biztalk
WPF
Patten/Practices
WCF
Others
www.DotNetSpark.com
UnAnswered
All
Hall of Fame
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend