我是asp新手,我的代码有错误,有人可以帮我吗?
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName.Equals("AddNew"))
{
TextBox txtUsername=(TextBox)GridView1.FooterRow.FindControl("txtUsername");
TextBox PASSWORD=(TextBox)GridView1.FooterRow.FindControl("PASSWORD");
TextBox txtStatus = (TextBox)GridView1.FooterRow.FindControl("txtStatus");
TextBox txtE_MAIL = (TextBox)GridView1.FooterRow.FindControl("txtE_MAIL");
customer.Insert(txtUsername.Text, PASSWORD, txtStatus.Text, txtE_MAIL.Text) ;
BindEmployeeDetails();
附上错误图片。