Add another column in your datatable as "customRow" set its value to yes wherever you add a row manually. In your gridview add a label(invisible) with text property set as "customRow". In rowdatabound evend use findcontrol method to find the text of the label and if it is "yes", add
e.Row.Attributes.Add("style","this.class='your css style'");