A UISprite gets its texture data from an atlas, while a UITexture gets it from an individual texture.
See the Widget Tool in the unity menus on how to make it. Just make a "Simple Texture" and it will set the basic one up for you.
From code, the mainTexture property is the one you want to mess with.