Example #1
0
        public void UpdateFunderRecord(USTTI.Base.Funder funder)
        {
            string sql = "UPDATE funders SET fundername='" + funder.Description + "',fundertypid=" + funder.FunderTypeID + " WHERE funderid=" + funder.FunderID;

            ExecuteNonQuery(sql);
        }
Example #2
0
        public void InsertFunderRecord(USTTI.Base.Funder funder)
        {
            string sql = "INSERT INTO funders VALUES(" + funder.FunderID + "," + funder.FunderTypeID + ",'" + funder.Description + "')";

            ExecuteNonQuery(sql);
        }