Can I have a solution on this bug. When I run my program I receive this message and I don't see what's wrong because I put the same code as declared in .aspx file: "cmdNew_Click". But I have this message:
1. The type 'AuthorManager' already contains a definition for 'cmdNew_Click'
.aspx
...
...
...
protected void cmdNew_Click(object sender, EventArgs e)
{
txtID.Text="";
txtFirstName.Text="";
}
...
Then how can resolv it please.
Thanx,
Israel.

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 17, 2013, 8:02 AM EDT
Please try like this
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 17, 2013, 8:20 AM EDT
.aspx
...
...
...
protected void cmdNew_Click(object sender, EventArgs e)
{
txtID.Text="";
txtFirstName.Text="";
}
...