The Style property gets a collection of all the cascading style sheet (CSS) properties; you cannot set it.
Try BtnventCss.CssClass = "hom_but_a";
instead.
I'm assuming BtnventCss is a WebControl.
I have just seen you're probably using <div runat="server"...
If so, you can try:
BtnventCss.Attributes.Add("class", "hom_but_a");
You could make the div an asp:panel - they will render the same and you'll get better server-side support.