For my elementary school, I was in a private Christian school. Some teachers gave me trouble for being "weird" but some actually really appreciated it and basically were like "all the other kids are just not as smart as you, don't worry." I guess they considered me gifted, in some ways. Oddly, I think the worst teacher toward me was my kindergarten teacher, who constantly got on me for being weird, etc, at that young age. I think she was the most bitter of all the teachers there, really. And it was quite odd, I like, failed reading, almost. We'd read these like "dick and jane" kinda books, and by that age, I was capable of reading (but not always comprehending fully) novels, so I'd like, just read through the book in like literally 30 seconds, and she'd want me to sound out every single word and I just wasn't having it. But, in some of the other grades, the teachers were really kind to me and liked me.
Some teachers humiliated me in random misguided kinda ways, it was an especially legalistic Christian school, so we had to wear belts and collared shirts. I'd forget where my belt was, and I'd be late to school regardless, but I'd be even later if I looked for my belt, so I'd just not look. One of my teachers, to remind me to wear my belt, would make me wear a rainbow belt made of string, or a rope. Now, I can look back and see alot of my disorganization is due to my NVLD, but back then, very humiliated.
As far as high school, well, none really treated me like BADLY, by high school, I'd gotten an IEP of "depression and anxiety" (so stupid, ugh....) and high school and middle school were at public school, which was a hell of a transition in itself. The teachers seemed to like me, as I didn't really act up or anything, and I frankly knew a lot, but there was nothing they could do to....help my situation. Maybe a few gave that line of "you just need to apply yourself!" or "you're so smart!" and all that crap, but for the most part, high school teachers were reasonable to me, if apathetic. A few high school teachers, I got along with really well, like I had a shop teacher who was super cool, but he couldn't make it simply for the fact the kids at my school were idiots and would take advantage of him, so he got fired. AS wouldn't surprise me AT ALL for him, but yeah. It seemed mostly, the teachers that were the least charismatic that other students would find mean or whatever, I thought were just fine and they seemed to like me.