TextBox = (TextBox)row.FindControl("txtRateCenterName");
if(rateCenterName !=null)
{
cmd.Parameters.Add("@RateCenterName", OleDbType.VarChar).Value =rateCenterName.Text;
}
check "txtRateCenterName" control is exist or not in "row"
if you are using GridView then search the TextBox control in
row.Cells[yourcellIndex]