Click here to Skip to main content
15,917,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a scenario in which I have a Datalist which would be blank at first.
But when I put some words in a search box,the keyword match details will be
autopopulated in the Datalist.Can you kindly give any idea or any link.
Posted

1 solution

hi,

Based on the search text , if the searched text found in DB, then fill it in dataset, then count the no. of rows in dataset , based on that bind data to the datalist , if dataset row count is zero, then disable the datalist.
 
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