bcoussens
asked on
does not have the same signature as delegate 'Delegate Sub
I dont really understand the error, what is a signature?
I call this in the OnItemInserted="senduser"
below is the error
Compiler Error Message: BC30408: Method 'Protected Sub senduser(sender As Object, e As System.Web.UI.WebControls. SqlDataSou rceCommand EventArgs) ' does not have the same signature as delegate 'Delegate Sub FormViewInsertedEventHandl er(sender As Object, e As System.Web.UI.WebControls. FormViewIn sertedEven tArgs)'.
Source Error:
Line 17: <tr>
Line 18: <td>
Line 19: <asp:FormView ID="FormView1" runat="server" DataKeyNames="ID"
Line 20: DataSourceID="SqlDataSourc e1" OnItemInserted="senduser">
Line 21:
I call this in the OnItemInserted="senduser"
below is the error
Compiler Error Message: BC30408: Method 'Protected Sub senduser(sender As Object, e As System.Web.UI.WebControls.
Source Error:
Line 17: <tr>
Line 18: <td>
Line 19: <asp:FormView ID="FormView1" runat="server" DataKeyNames="ID"
Line 20: DataSourceID="SqlDataSourc
Line 21:
Protected Sub senduser(ByVal sender As Object, ByVal e As SqlDataSourceCommandEventArgs)
e.Command.Parameters("@Openedby").Value = User.Identity.Name
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER