Using an UPDATE statement, to update the database. You'd use an IDbConnection to connect to the database, and use a IDbCommand to execute the SQL-statement.
Post some code if you're stuck, or get a good introductionary book if you don't know where to begin.