I have the code below
It throws an error "Object reference not set to an instance of object"
TextBox rateCenterName = (TextBox)row.FindControl("txtRateCenterName");
cmd.Parameters.Add("@RateCenterName", OleDbType.VarChar).Value = rateCenterName.Text;