How do I programmatically execute a link button within a FormView with a
commandName in ASP.Net?
I have a the following linkbutton within an InsertItemTemplate in a
FormView control:
I want to simulate clicking on the button, but when I created an OnClick
event declaratively, and called it, it went to the event handler but did
not execute the Insert Command to insert the record into a database. I
would like to be able to trigger the Insert Command programmtically.
Thanks.
No comments:
Post a Comment