From your question it seems you need to know about performing database operations involving these commands. I think you might find this useful
A Beginner's Tutorial for Understanding ADO.NET[
^]
You will find code to do all that in this article.
P.S. The code in this article is written from the perspective of explanation and understanding, there is a lot of scope for improvement in the code but for start this should be fine.