Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Can I have two actions taken with OnselectedIndexChanged with Datagrids?

Can I have two actions taken with OnselectedIndexChanged with Datagrids?
[72 byte] By [Matrix.net] at [2007-11-11 9:56:57]
# 1 Re: Can I have two actions taken with OnselectedIndexChanged with Datagrids?
What do you mean by "actions?" You can execute any code you want in the OnSelectedIndexChanged event.
Phil Weber at 2007-11-11 23:12:10 >
# 2 Re: Can I have two actions taken with OnselectedIndexChanged with Datagrids?
What do you mean by "actions?" You can execute any code you want in the OnSelectedIndexChanged event.

what I want to do is OnSelectedIndexChanged execute two seperate functions
Matrix.net at 2007-11-11 23:13:21 >
# 3 Re: Can I have two actions taken with OnselectedIndexChanged with Datagrids?
Protected Sub DataGrid1_SelectedIndexChanged(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles DataGrid1.SelectedIndexChanged

Function1()
Function2()

End Sub
Phil Weber at 2007-11-11 23:14:15 >