Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have 60 image button when user Clicked any button , that button id should insert into the database, how to find which button id clicked
Posted

1 solution

use ImageButton_Click event

write the code there get the button id

string butID=ImageButton.ID.tostring();

now write insertquery
 
Share this answer
 
Comments
Orcun Iyigun 3-May-13 7:32am    
so he should write that code 60 times?

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