Click here to Skip to main content
15,942,847 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello

I'm new in C# windows application, could you help me to solve my problem?
I want to implement search condition in Checkedboxlist, when i enter any name or email id in textbox and clicking on search button its should give the o/p of that related names or emailid

data come from database
Posted
Comments
Sandeep Mewara 4-Jul-12 4:42am    
Not clear!

Search condition in textbox then output will be in table. Where is checkboxlist in picture?

1 solution

In the checkbox selectrd event write the sql query like
select * from  <table name=""> where <column name=""> = abc</column></table>

commandobject.parameters.AddWithValue("abc",checboklist.selectedindex.ToString());
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900