Skip to content

CSS code snippet – asp net How to change text alignment of gridview column?

protected void GridView1_DataBound(object sender, EventArgs e)
        GridView1.Columns[1].ItemStyle.HorizontalAlign = HorizontalAlign.Right;
See also  Python code snippet - How to know google index of a page ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.