Dentistry was well known and practiced through Egyptian history, since an infected abscess could be deadly (See: Amenhotep III: http://www.reshafim.org.il/ad/egypt/funerary_practices/amenhotep_iii.jpg) However, treatment seems to have been fairly basic. Rotten or infected teeth were knocked out, using either alcohol or opium to numb the pain if necessary.
Cavities were rare in ancient Egypt since they had little sugary or soft food, although the upper classes do demonstrate some evidence of cavities. There is evidence that these could be treated by filling with resin.
We have a few sets of dentures, but it's suggested that these are only for cosmetic use with the dead. Average Djoser Egyptian most likely went around with a number of holes in his smile, but, abrasion from his diet aside, had pretty healthy teeth.