Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Sir, i have a method like :-

Public Sub Save(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
--- my code
End Sub

i want to call this method on button click.

how can i do it.
Posted
Updated 24-Jun-15 1:58am

Each Control delivers it's own Events.
For example a Button don't raise an Event from a GridView.
Perhaps - you could create UserControls and combine functions inside.
Or you could customize a Control.
 
Share this answer
 
 
Share this answer
 
Comments
TCS54321 24-Jun-15 7:58am    
not work for me

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