Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Syed Shakeer Hussain
laptop charles
Shivprasad koirala
G N
Akhil Raj
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 Related Questions
In my listview LVPayments_ItemDataBound event,from here i want to get the item index of label contro
DATAGRID NULL ITEM REPLACE PROBLEM
How can we select a particular row in the listview control
ASP.NET - ListView binding - Clarification
ASP.NET - Scrollable Panel and Placing ListView in that
Latest Forum Questions From The Same Category
how to send sms from Windows Application usnig C#
how can i checked if form is already open in c#
How to disassemble exe file?
Combo Box with suggestion list using C#
how to save file in Multipal Extenstion using c#
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
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend