public void UpdateFunderRecord(USTTI.Base.Funder funder) { string sql = "UPDATE funders SET fundername='" + funder.Description + "',fundertypid=" + funder.FunderTypeID + " WHERE funderid=" + funder.FunderID; ExecuteNonQuery(sql); }
public void InsertFunderRecord(USTTI.Base.Funder funder) { string sql = "INSERT INTO funders VALUES(" + funder.FunderID + "," + funder.FunderTypeID + ",'" + funder.Description + "')"; ExecuteNonQuery(sql); }