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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Hemant SrivastavaRank #581 · 4.2K reputationPosted Jan 21, 2013, 6:34 AM EST
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.
vikas kanani147 reputationPosted Jan 21, 2013, 5:25 PM EST
Hemant SrivastavaRank #581 · 4.2K reputationPosted Jan 21, 2013, 6:39 PM EST
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