Click here to Skip to main content
15,792,397 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in our project, we r using panel and datagidview.I want to filter data which is coming from database in datagridview according to time which is in panel.But it is not working. I am not using datatable ,dataset, and all.
Posted

1 solution

In your stored procedure, just return the data you're interested in (filtered by date).

If you don't want to do it in the stored procedure (which is the correct place to do it), you can use Linq to extract the data from the data returned from the database.
 
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