T
tmartin
Hi all,
I'm having a strange issue with getting my GridView - OnRowCreated
method to compile. I've got a simple GridView with the following:
<asp:GridView ID="GridView1" runat="server"
OnRowCreated="GridView1_RowCreated"
OnRowCommand="GridView1_RowCommand">
And in my code behind I have the following:
protected void GridView1_RowCreated(object sender,
GridViewCommandEventArgs e)
{
string s = "hello";
}
The error I receive during compile is:
No overload for 'GridView1_RowCreated' matches deleted
'System.Web.UI.WebControls.GridViewRowEventHandler'
I have a similar setup for the OnRowCommand method with no compile
issues.
Any ideas?
I'm having a strange issue with getting my GridView - OnRowCreated
method to compile. I've got a simple GridView with the following:
<asp:GridView ID="GridView1" runat="server"
OnRowCreated="GridView1_RowCreated"
OnRowCommand="GridView1_RowCommand">
And in my code behind I have the following:
protected void GridView1_RowCreated(object sender,
GridViewCommandEventArgs e)
{
string s = "hello";
}
The error I receive during compile is:
No overload for 'GridView1_RowCreated' matches deleted
'System.Web.UI.WebControls.GridViewRowEventHandler'
I have a similar setup for the OnRowCommand method with no compile
issues.
Any ideas?