how to display record from selecting birthdate and month....
record displays in gridview
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hemant SrivastavaPosted Jan 21, 2013, 11:39 PM
Suppose you have your data in a List of objects whereas your objects contains fields (like Name, ID, Date etc..), then find all the records in the List Collection matching the selected date.
Get the result data (records) in a seperate collection.
In last, Bind the result data with your data grid. How to bind data collection into a datagrid, you may get an idea in following link:
http://www.c-sharpcorner.com/UploadFile/mahesh/ObjectDataGridBinding11302005010309AM/ObjectDataGridBinding.aspx
vikas kananiPosted Jan 21, 2013, 10:25 PM
Hemant SrivastavaPosted Jan 21, 2013, 11:34 AM
Is your data in some collection and you select birthdate and month from a DateTimePicker control (or some other control like text box etc.)?
Then you search your data collection with the selected 'BirthDate & Month' and display them into a datagrid?
Is this the scenario? Plz describe in more deatil.