g1m0v0n5
January 6th, 2008, 03:49 AM
Hai,
I am doing one project for creating a resume report from the database using Asp.net 2005 and ms access.
I have one problem like this:
Consider one database with Candidateid,CnadidateName,Degree,Dataof birth.......
I have one page with one Button.
If I click the button,according to the no of records in the database buttons should be created dynamically in the same page.
For the dynamic button the id should be assigned as Candidateid, and Text should be the CandidateName.
Then the main thing is if i click any of the dynamic created buton it should display the related Candidateid,CandidateName,Degree.............
For Kind note, I had created dynamic controls as per the above aspects but I don't know how create the event handler for the dynamic controls.
Please Guide me how to add the event handler (ie) normally button1_click, but in my case let it 10000_click(),10001_click()....
Please tell some coding examples for creating event handler for the dynamically created button control.
Thanks in advance.
I am doing one project for creating a resume report from the database using Asp.net 2005 and ms access.
I have one problem like this:
Consider one database with Candidateid,CnadidateName,Degree,Dataof birth.......
I have one page with one Button.
If I click the button,according to the no of records in the database buttons should be created dynamically in the same page.
For the dynamic button the id should be assigned as Candidateid, and Text should be the CandidateName.
Then the main thing is if i click any of the dynamic created buton it should display the related Candidateid,CandidateName,Degree.............
For Kind note, I had created dynamic controls as per the above aspects but I don't know how create the event handler for the dynamic controls.
Please Guide me how to add the event handler (ie) normally button1_click, but in my case let it 10000_click(),10001_click()....
Please tell some coding examples for creating event handler for the dynamically created button control.
Thanks in advance.