Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i see the data in grid view,when i click the date in text box,it will show the data of that date only.
Posted
Comments
CRDave1988 15-Feb-12 2:47am    
Not Clear

1 solution

Make your query like

C#
"Select * from table where Date='"+textbox.Text+"'";


and assign Gridview's datasource to this query on the click of button
 
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