Welcome to the Forum!
We don't usually get asked how to gain weight, but
here you go.
Quote: "To gain weight, you need to consume more calories every day than you burn with physical activity. You can also gain weight by increasing the size of your muscles."
You can also try weight lifting and carb counting. You can pretty much do this with a diet, that is diabetes friendly, and heavy on proteins.
Good luck!